This is a docker laravel setup that can be used for package development Follow the following steps to setup a laravel package development environment
- Clone or fork repository
- Go to https://github.com/spatie/package-skeleton-laravel to create a package template
- create a directory called packages
- clone the package directory generated from spatie repository into the packages folder
- goto the root directory of the project on your terminal and run the following command
- docker-compose up -d
- docker exec -it pkg_creator_app bash
- Navigate to the package folder in the packages directory
- Run this command php ./configure.php