From the course: Linux for PHP Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing Laravel and Artisan

Installing Laravel and Artisan

From the course: Linux for PHP Developers

Start my 1-month free trial

Installing Laravel and Artisan

- [Instructor] Laravel is a free open-source PHP web framework available from laravel.com. To learn more about Laravel, check out Laravel 4 Essential Training with Joseph Lowery here in the online training library. Laravel already includes an Optional Installer, but since it supports Composer, and we already have Composer, we'll just use that. Let's install Laravel and Artisan, the Laravel CLI. From a terminal, change directory to /media/sf_sandbox. We're going to use composer to create-project, preferring the distribution with --prefer-dist, and then laravel/laravel into the directory, laravel. After a couple minutes, the installation will complete. We're going to need a little light configuration. Open up Atom. Go up to File, New Window, then File, Add Project Folder. We're going to look on the Desktop in sandbox for Laravel. Click open. We're going to need to edit the .env file, so click on it now. All the configuration we need to do is in the same place. Let's start with the…

Contents