Since today it's easier and faster to install Laravel than ever before. By using this method you can start almost instantly with any new Laravel project with a freshly downloaded copy of the latest Laravel version. It's called the Laravel Installer and here is how you set this thing up:
As Laravel is all about writing
DRY and SOLID code, it has a lot of features which help you do just that. But as with every framework, not every single function or feature can be mentioned in the docs.
The new and ultra fast HHVM compiler for PHP is out for some time now. The guys at Facebook are doing great work and really making progress. Now they pass tests with 100% for a growing number of frameworks, with Laravel being one of the first few.
Laravel 4.1 is coming soon and as the framework is becoming more popular over time, there are more developers waiting to get there hands on it than ever. In this post I wrote down the most important features that become available using a single composer update at the end of november.
I found this nice little gist from Zach Saunders on GitHub the other day and I wanted to share this with you. It could be helpful to decrease the size of the output that your brand new Laravel 4 application generates. Using minification you can certainly gain some kilobytes. It's all about these little things to keep your web app snappy.
As you probably know right now, Laravel 4 is all about using Composer and that's really great. Even more because you can start coding with Laravel even faster than ever before! When you've installed Composer (which you should), it's just one command installing the latest stable version of Laravel:
An awesome feature that didn't make it to the current documentation of Laravel 4, is caching within Eloquent models. So even caching the database results is done in just a single line of code, for example:
The all new and much expected launch of Laravel 4 is released for two days now and creator Taylor Otwell has done an amazing job finishing this true piece of art. I think a lot of PHP developers are going to love this and it will be the biggest milestone since the framework has seen daylight. Laravel 3 was great, but its successor is better in every aspect.
Caching in Laravel can be done in many ways and on many levels of coding. Like for instance you can cache the results that Eloquent returns, to save the load on your database. You can also cache time consuming operations like retrieving data from an external source. These are examples where you cache the result set of your data source and it's a good practice when you want to create a blazing fast website.
When you're working on a regular basis with Linux web servers, you'll probably have noticed that the main repositories are offering MariaDB as a replacement of MySQL when you're checking for the latest updates. It's a decision the large repositories have made because of the commercial and uncertain direction MySQL is heading, while MariaDB offers itself as a great drop-in replacement.
Composer in combination with its main repository Packagist is a life saver for every PHP developer. It's an indispensable tool for managing dependencies of your project. Let's get started to get you up and running using Composer in just a few minutes.