Support the ongoing development of Laravel.io →

ChrisLahaye

Joined 3 Oct 2014

Statistics

Threads 1
Replies 3
Solutions 0
Articles 0

Sharing PHP (configuration) array with JavaScript

Hello, What are some possible solutions for sharing parts of my Laravel configuration with the brows...

0 Likes
7 Replies
Solved
replied 9 years ago

Is it good practice to have such queries in laravel views?

No, the right way would be to wrap the query in a repository class (Repository pattern). The wrapped...

0 Likes
replied 9 years ago

Sharing PHP (configuration) array with JavaScript

Thanks for the replies. Was hoping I could find a more static solution (e.g. via Gulp) so the reques...

0 Likes
replied 9 years ago

Sharing PHP (configuration) array with JavaScript

Thanks for your reply. I would consider an Ajax request a lot more overhead then simply generating g...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.