How/where is it better to customize the public functions used in Laravel5 blade views?
PHPz
PHPz 2017-05-16 16:55:52
0
2
753

larvel4.2 has libraries folder, you can customize functions and preload them.
How can larvel5 be implemented more elegantly?

PHPz
PHPz

学习是最好的投资!

reply all(2)
黄舟

Zhanlou to see the answer, I am learning laravel;
http://wenda.golaravel.com/question/718
You can take a look at this

Peter_Zhu

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template