larvel4.2 has libraries folder, you can customize functions and preload them. How can larvel5 be implemented more elegantly?
学习是最好的投资!
Zhanlou to see the answer, I am learning laravel; http://wenda.golaravel.com/question/718 You can take a look at this
Just find a file to write the function, and composer imports the file. Or customize a helper class, make the method static, and call it using the namespace.
Zhanlou to see the answer, I am learning laravel;
http://wenda.golaravel.com/question/718
You can take a look at this
Just find a file to write the function, and composer imports the file.
Or customize a helper class, make the method static, and call it using the namespace.