/compack

Template-based composer package generator

Primary LanguagePHPMIT LicenseMIT

Logo Laravel Dusk

Build Status Total Downloads Latest Stable Version License

Introduction

Template-based composer package generator.

Repository Code
Generic PHP devtical/compack-template-generic
Laravel devtical/compack-template-laravel
Yours Docs soon

Installation

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.

Usage

Once installed, the compack new command will create a new package in the directory you specify.

Usage

Template from directory

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

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING.md for details.

Security

If you discover any security related issues, please email author instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see the license file for more information.