Sign inSign up

tomsowerby/laravel-php-cli

By tomsowerby

•Updated about 6 years ago

Container for running laravel cli bits, based on the latest official php:cli

Image
1

1.6K

tomsowerby/laravel-php-cli repository overview

⁠docker-laravel-php-cli

Container for running laravel cli bits, based on the latest official php:cli, with a few laravel requirements and a couple of database (mysql and postgresql) options installed.

This can easily be used to run artisan commands by providing artisan as the entrypoint.

Available on Docker Hub⁠

Usage should be the same as the Official PHP cli⁠

Check the version:

docker run -it --rm tomsowerby/laravel-php-cli php -v

Run artisan (command run from a laravel directory):

docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp tomsowerby/laravel-php-cli php artisan

Please report bugs or suggestions for this container to the GitHub issue⁠ page.

Tag summary

Content type

Image

Digest

Size

29.5 MB

Last updated

about 6 years ago

docker pull tomsowerby/laravel-php-cli