Laravel Community Tools by Tighten

Tag "5.0" tricks

75 tricks
Helper function to mass-map routes to methods. I use this setup in development to quickly map all "test/*" routes to a Test controller, to test out arbitrary PHP code. Updated version also supports DI in controller methods. Updated to correctly fill optional arguments.
davestewar... 10 years ago 12519
5.0
example of how to test API with Codeception and Laravel
Mahmoudz 10 years ago 10611
5.0
How to add Multiple pagination in one page
Mahmoudz 10 years ago 14598
5.0
The example doesn't cover every single aspect, but the very major things.
Mahmoudz 10 years ago 16057
5.0
Hello ! I'm trying to publish an application on an IIS server where my application is in a subfolder. However when trying to enter it's giving me the following error: NotFoundHttpException Application.php line in 1105 : I ran a dd () on routes and printed on the screen normally. I do not know what might be happening . Could someone help me ?
atilarampa... 10 years ago 14117
5.0
Blade's path syntax is a little odd - it uses dots instead of slashes, and always requires you to start your paths from the views root. This Blade extension allows you to pass paths with slashes, and correctly resolves parent paths via the traditional ../ syntax. Lastly, the quoting of paths is optional.
davestewar... 10 years ago 11655
If you know what nested sets are, and use lazychazer/laravel-nestedset package, and tried his example application (https://github.com/lazychaser/nestedset-app), then here is a snippet for replace his simple nav rendering to bootstrap (3.x) navbar compatible output. (Laravel 5 solution)
subdesign 10 years ago 11948
5.0
If you want to add Lumen to your laravel 5 and you don't want to create new repositories models controllers etc... Just create a new Lumen project and autoload laravel namespace in lumen composer.json I assume both laravel5 and lumen are in the same directory but each one in it's own project directory.
kamaroly 10 years ago 7375
You’re using Laravel 5 and you want to switch from less (which is used by default) to sass? Here is some steps that you can follow in order to make that transition.
mercuryser... 10 years ago 14666
5.0