Stuff I'm Up To

Technical Ramblings

Laravel & PHP Minimum Requirements — December 11, 2017

Laravel & PHP Minimum Requirements

Make sure you’ve installed php and the necessary modules before trying to create a new Laravel project.

$ sudo apt-get install php-fpm
$ sudo apt-get install php-mbstring php-zip

The order of php-fpm and php is important as putting them the other way around you’ll find you get apache2 installed when you probably don’t want that.

Then you should be able to create your empty project using composer without any complaints.

$ cd /var/www
$ composer create-project --prefer-dist laravel/laravel [project]

 

Advertisements
Bootstrap — September 18, 2016

Bootstrap

What have I learnt lately? Stop reinventing the wheel.

If someone’s already done something great an you can make use of it, do it. When it comes to frameworks Twitter Bootstrap sits there as the master of HTML5. Sure there are others, Zurb Foundation is pretty solid, but as with everything, at some point you just have to choose.

Continue reading

Laravel Redirect to Intended — September 13, 2016