Template-based composer package generator.
Repository | Code |
---|---|
Generic PHP | devtical/compack-template-generic |
Laravel | devtical/compack-template-laravel |
Yours | Docs soon |
composer global require devtical/compack
Make sure to place composer's system-wide vendor bin directory in your $PATH
so the compack executable can be located by your system.
This directory exists in different locations based on your operating system; however, some common locations include:
OS | Location |
---|---|
macOS | $HOME/.composer/vendor/bin |
Windows | %USERPROFILE%\AppData\Roaming\Composer\vendor\bin |
GNU / Linux Distributions | $HOME/.config/composer/vendor/bin or $HOME/.composer/vendor/bin |
You could also find the composer's global installation path by running composer global about
and looking up from the first line.
Once installed, the compack new
command will create a new package in the directory you specify.
You can refer to the template from your local folder if you don't want to use the templates we provide on GitHub. This is also useful if you are developing templates.
Template Repository [devtical/compack-template-generic]:
> /Users/kristories/templates/my-awesome-template
Please see the changelog for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING.md for details.
If you discover any security related issues, please email author instead of using the issue tracker.
The MIT License (MIT). Please see the license file for more information.