Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.27 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.27 KB

💀 Package Skeleton CLI

Social Cover

The Package Skeleton CLI is a tool to generate a package skeleton to start building a Laravel package.

Installation

It is recommended to click the Use this template button and choose to create a new repository

image

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.

Usage

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.

License

The Package Skeleton CLI is open-sourced software licensed under the MIT license.