Install Laravel in Docker container on Ubuntu for beginners 101

Install Laravel on Ubuntu for beginners using Docker. (see shortcuts below to key points) Adam Culp of Beachcasts php programming videos shares how to install Lavavel globally, and how to create a new Laravel project, and set up a development environment with Docker.

Please * LIKE, COMMENT, AND SUBSCRIBE * – and share with others!

Key Topics:
– Install Laravel installer globally
– Install a Laravel project/Create a Laravel application
– Using Artisan to perform tasks in Laravel
– Create docker-compose.yml
– Create Dockerfile
– Use Laravel with Docker container

This video assumes you have Composer and PHP installed on your system already.
08:35 I say “Composer” but meant to say “Docker”
13:31 The container will use Debian from the base image, not Ubuntu
13:39 Need to use mariadb-client because Debian doesn’t have mysql-client
Let me know if you notice anything that should be errata

Associated Links:

Example Docker files used in this video:

01:26 Install Laravel installer globally
02:30 Add the Laravel installer to the $PATH
03:00 Edit the .bashrc to add to PATH
04:40 Use Laravel installer via CLI
05:30 Create a new Laravel based project
06:55 How to use artisan command line tool to perform tasks for Lavarel
07:50 Use artisan to launch the PHP built in web server
09:40 Alter /bootstrap and /storage directory permissions for web server
11:16 Create the docker-compose.yml file
12:30 Create the Dockerfile to be used by docker-compose
13:20 Walk through Dockerfile contents
15:04 Launch docker-compose

Other Beachcasts videos you might find interesting:
Laravel Model Factory Tutorial using Artisan make:model
Authentication in Laravel
Getters and Setters accessors in object oriented programming
Critical programming issues preventing a PHP 7 upgrade
Behat for beginners functional REST API testing tutorial
Doctrine ORM one-to-many bi-directional association
PHP Mess Detector static analysis to find PHP code smells
Doctrine ORM one-to-many self-referencing association
10 reasons to become a consultant in a consulting business
Zend Framework becomes Laminas project at Linux Foundation
10 bad things about consulting
How to get lines of code in PHP
Make a List handler middleware
Make a Delete handler middleware
Make an Update handler middleware
Use UUID with Doctrine ORM for DB keys
Make a Create handler middlware
Automate Hypermedia creation for PHP REST API
Learn about Hypermedia and how to create it
Doctrine ORM Paginator for PHP REST API
Doctrine ORM Entity how to
Configure Doctrine ORM
Create PHP middlware with Zend Expressive
Configure PhpStorm for PHP development with Docker
Create PHP development environment with docker

Help through referrals:
Thinking of buying a Tesla electric vehicle? Use this referral link to also get six months of free Supercharging for both of us. Thank you.

I use TubeBuddy to help me manage my YouTube channel. If you’re interested, click the following link to check it out.

#laravel #laraveldocker #beachcasts



Please enter your comment!
Please enter your name here