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

Posted 4 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.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.