Laravel Community Tools by Tighten

Popular tricks

458 tricks
Listen to the `Illuminate\Mail\Events\MessageSending` event, and perform logic when needed.
stevebauma... 9 years ago 8841
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 8753
4.1
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 8727
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... 5 years ago 8759
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... 10 years ago 8733
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 8691
maybe this is a nice way to prevent an eloquent model field being updated with mutators like this:
Tefoh 6 years ago 8680
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 7 years ago 8664
5.6
In this article I'm gonna show you how to setup Laravel with Redis cache. Cloudways offers Laravel Development Framework on its Managed Cloud Web Hosting Platform. You also have the option to use Redis Cache, which is different from Memcached in the sense that it has persistence. Further advantages of Redis over Memcached are that it works with more data types, and it uses less memory. Here are the article link: http://www.cloudways.com/blog/setup-laravel-redis-cache/
wajidstack 10 years ago 8584
4.1