Laravel Community Tools by Tighten

Popular tricks

459 tricks
symply dont register unessecary route you dont have to use facade, $router instance is set by the function in route provider with config cached and files compiled i get app booted in ~30ms vs ~50 on my dev server
d3v2a 10 years ago 9082
5.0
As I will cover this Post with live Working example to develop how to save ckeditor content in mysql database, so the Laravel ckeditor display raw data in the database and post form is used for this example is following below.
pakainfo-c... 6 years ago 9067
Displaying different module/package dashboard widgets using view composers.
beanmoss 11 years ago 9050
This macro has the same signature than HTML::linkRoute() but wraps the hypertext link with <li></li>. If the current URL is the specified route, then <li> becomes "active" (<li class="active>...</li>). I use it to quickly build menus. Work well with Bootstrap.
Matt 12 years ago 8962
While returning of date field in JSON, I found some unexpected output which i have posted on stackoverflow. You can see here for more information: http://stackoverflow.com/q/31184170/1318946
pratikbuta... 11 years ago 8976
Nice quick one-liner to prep your system for superquick installs using the new PHP Archive installer in Laravel 4.1. More details in the blog post: http://bit.ly/1mt4Weu
dshoreman 12 years ago 8944
4.1
Sometimes the compiled file could get corrupted and not function properly, breaking your Laravel installation. This is a list of steps you could use trying to fix a Laravel installation that previously worked just fine on a server.
msurguy 12 years ago 8926
maybe this is a nice way to prevent an eloquent model field being updated with mutators like this:
Tefoh 6 years ago 8965
Sometimes we need to validate that several fields that are partial percentages don't sum up over the 100%. It is possible to achieve this with a custom validation rule and then using it on each partial, indicating the other fields as arguments.
alariva 8 years ago 8938
5.6