Laravel Community Tools by Tighten

Tag "4.1" tricks

72 tricks
If I Let You Go, I Will Never Know - Westlife
saiming96 5 years ago 12722
Laravel Installation, how to laravel latest version
dave 8 years ago 6567
DRY (Don’t Repeat Yourself) is a key principle in software engineering. It simply states that one should not reinvent the wheel while you are writing any application. If you have written some PHP application earlier, you will find that you are reinventing the wheel again and again to write the same process, like User Authentication, Database Management, Mailing Service, Validation System, etc. However, PHP now has effective and mature frameworks in hand that can perform nearly all the basic processes as stated above with their core. In fact, if you are smart enough, only then you will cherry pick the components from other frameworks like Zend, Laravel, Symfony, etc. This is the most hectic phase where you need to keep the dependencies of the required components, or else you will create a huge mess. Here are complete tutorial: http://www.cloudways.com/blog/composer-with-laravel/
wajidstack 10 years ago 7406
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 8492
4.1
Variable Dump Helper, a function to dump variables to the screen, in a nicely formatted manner. This is useful if you want to see the contents of your variable array. This is originally created by Mr. Joost van Veen. Source: https://gist.github.com/accent-interactive/3838495
kankuro 10 years ago 8084
When you use union to combine queries, get results and order them or apply limit : it doesn't work as expect. Check the code below
rajivseela... 11 years ago 29848
4.1
A variation of http://www.laravel-tricks.com/tricks/column-selection-in-eager-loading Credits: http://stackoverflow.com/questions/16994253/laravel-eager-loading-load-only-specific-columns Warning: this trick does not work on many-to-many relations, see: https://github.com/laravel/framework/issues/2966
orlissenbe... 11 years ago 18788
Reference the connection by name, the database could be named differently in another environment.\ Note: you might want to add backticks to the database name if the name uses alternative characters.
orlissenbe... 11 years ago 12456