huangdijia/composer-package-builder

Get started with your Laravel/thinkphp/php package in no time with this package generator.

1.2.0 2020-10-26 00:35 UTC

This package is auto-updated.

Last update: 2024-10-26 09:26:22 UTC


README

Latest Version on Packagist Total Downloads GitHub license

Installation

You can install the package via composer:

composer g require huangdijia/composer-package-builder

Usage

composer build:composer-plugin
composer build:laravel-package
composer build:php-package
composer build:thinkphp-package

Options

Options:
      --vendor[=VENDOR]            Vendor Name [default: "my-vendor"]
      --package[=PACKAGE]          Package Name [default: "my-package"]
      --author[=AUTHOR]            Author Name [default: "author"]
      --email[=EMAIL]              Author Email [default: "author@domain.com"]
      --description[=DESCRIPTION]  Package Description [default: "My awesome package"]
      --license[=LICENSE]          License, eg: mit,agpl-3,gpl-3,lgpl-3,mozilla-public-2,apache-2,unlicense
      --output[=OUTPUT]            /Users/hdj/Downloads
  -h, --help                       Display this help message
  -q, --quiet                      Do not output any message
  -V, --version                    Display this application version
      --ansi                       Force ANSI output
      --no-ansi                    Disable ANSI output
  -n, --no-interaction             Do not ask any interactive question
      --profile                    Display timing and memory usage information
      --no-plugins                 Whether to disable plugins.
  -d, --working-dir=WORKING-DIR    If specified, use the given directory as working directory.
      --no-cache                   Prevent use of the cache
  -v|vv|vvv, --verbose             Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.