Skip to content

A boilerplate for easily building a Laravel + MySQL web application execution environment

Notifications You must be signed in to change notification settings

hdk-t/laravel-webapp-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-webapp-boilerplate

Over View

A boilerplate for easily building a Laravel + MySQL web application execution environment

Container Environment

  • Application
    • Laravel - 10.31.0
    • PHP - 8.1.25
  • Database
    • MySQL - 8.0.27

Host Required

  • Docker
  • Docker Compose
  • Git

Usage

Copy .env

cp -p ./src/.env.example ./src/.env

Launch the containers

docker-compose up -d

Install library

docker exec -it laravel-webapp-boilerplate_app_1 composer install

Generate APP_KEY

docker exec -it laravel-webapp-boilerplate_app_1 php artisan key:generate

Acccess laravel wellcomepage

http://localhost:8080

If you use x-debug

Launch the containers

docker-compose -f ./docker-compose.xdebug.yml up -d

Add vscode configurations

"configurations": [
    {
        "name": "XDebug on alpine-laravel9-docker",
        "type": "php",
        "request": "launch",
        "port": 9003,
        "pathMappings": {
            "/opt/html": "{YOUR_WORKSPACE_PATH}/laravel-webapp-boilerplate/src"
        }
    }
]

About

A boilerplate for easily building a Laravel + MySQL web application execution environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages