The Package Skeleton CLI is a tool to generate a package skeleton to start building a Laravel package.
It is recommended to click the Use this template button and choose to create a new repository
Otherwise, you can clone this repository into a new folder and launch the install:
git clone https://github.com/cjmellor/skeleton my-package
cd my-package
composer install
If you cloned the repo, you will need to remove the origin
remote and add a new one
git remote remove origin
git remote add origin [email protected]:<username>/<package-name>.git
Replace <username
and <package-name>
where applicable.
Run the following command to generate a package skeleton:
php build
You will be prompted with multiple questions in relation to your package. Once you have answered all the questions, the package skeleton will be generated.
The Package Skeleton CLI is open-sourced software licensed under the MIT license.