Skip to content

Run a development environment for Laravel with docker in local

Notifications You must be signed in to change notification settings

HassanHelfi/local-laravel-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Laravel with docker ;-)

nginx - php - mysql - phpmyadmin and composer

move your laravel code base in src folder or clone laravel woth

    git clone https://github.com/laravel/laravel.git

run docker

    docker-compose build
    docker-compose up -d

run artisan commands

    docker-compose exec php php /var/www/html/artisan config:clear
    docker-compose exec php php /var/www/html/artisan migrate
    docker-compose exec php php /var/www/html/artisan make:model Hassan

run composer commands

    docker-compose exec php composer require fabpot/goutte

Reference

About

Run a development environment for Laravel with docker in local

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages