5 years ago

is it possible to feed the Envoy.blade.php file with data from DB ?

Posted 5 years ago by TheBlueDragon

hey every one , i am start working on a project that need to communicate with many servers depend on what the admin add in the db , and in the envoy file there will be a shell script i already make it so the thing now how i can grab all the ip adresses and there passwords from the DB

so in the envoy file i got like

@servers([ '$server->id' => '$server->ipaddress' ])

i should use the normal way of getting the data from DB or there is a direct way from laravel to handle this issue ??

Please sign in or create an account to participate in this conversation.