Skip to content

Simple Laravel v8.0, PHP v8.0, Composer v2.0 and xDebug v3.0 docker setup.

Notifications You must be signed in to change notification settings

mikevandiepen/upgr8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upgr8

Simple Laravel v8.0, PHP v8.0, Composer v2.0 and xDebug v3.0 docker setup.

Setup

#1

Add this script to your composer.json so your composer container will automatically install the packages.

"scripts": {
    "docker-setup": [
        "composer self-update --stable",
        "composer check-platform-reqs",
        "composer diagnose",
        "composer clear-cache",
        "composer dump-autoload --optimize",
        "composer install --dev"
    ],
}

#2

Copy the environment file which suits your project type.

Custom
$ cp .env.generic .env
Laravel
$ cp .env.laravel .env

#3

Run this command to build your container.

$ docker-compose up --build

#4

Happy Coding!

About

Simple Laravel v8.0, PHP v8.0, Composer v2.0 and xDebug v3.0 docker setup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published