Laravel Community Tools by Tighten

Tag "view data" tricks

55 tricks
Angular js With laravel blade file
Darshan Ma... 9 years ago 7308
Laravel in insert udpate record..
Darshan Ma... 9 years ago 7794
Laravel in check user role after redirect view blade file...
Darshan Ma... 9 years ago 6669
Create your own request! Before your code run in controller the validation was check the all input. When something wrong, its return redirect back with all error. And you can overwrite the default error messages!
kecsot 9 years ago 6689
Learn how to make a function to easily test which menu items should be marked as active depending on which page you are currently viewing in your browser. Add class of active to bootstrap menu items on different pages. Wherever you need to apply an active class ( or any other class ) in order to make a menu item active depending on which page you are currently viewing, or for any other sort of functionality you might need, this is the way you can do it with Laravel ( or plain PHP just a bit differently ) Watch the video on how to do it https://www.youtube.com/watch?v=E1oit3sd-7k
Novica89 9 years ago 8820
With this trick we add custom queries in the laravel paginator.
Hoosk 10 years ago 6956
Encryption
test1 10 years ago 7268
This Trait helps you to pass "variables" anywhere in controllers to "view" . you can use "$this->view->..." in controller to pass your variables , also you can use "$this->view()" same as "view()" helper with same functionality to render the view . ( this package is made by larabook.ir)
hpakdaman 10 years ago 14715
A couple of view creators that inject variables or text into views
davestewar... 10 years ago 7212