wartisans/docker-laravel

Simple docker container for laravel

dev-master 2020-03-04 11:00 UTC

This package is auto-updated.

Last update: 2025-07-04 23:06:17 UTC


README

This is a simple package that creates some commands to run easily a docker container in order to serve you laravel app from docker.

This is meant only for development purposes.

Installation

composer require wartisans/docker-laravel --dev

if you want to change any of the configurations you can publish the docker-laravel.php configuration, if not, it will just take the defaults.

 php artisan vendor:publish --provider="WebArtisans\\DockerLaravel\\Providers\\DockerLaravelServiceProvider"

Usage

To serve your current project you can just run

php artisan docker:serve

To stop the current container

php artisan docker:stop

To remove the container

php artisan docker:remove

If you would like to contribute, you're welcome to do so.