gennadyx/skeleton

Composer package skeleton

0.2.1 2017-03-09 18:27 UTC

This package is not auto-updated.

Last update: 2024-11-10 03:12:51 UTC


README

Latest Version on Packagist Software License Build Status Total Downloads

Coverage Status Sensiolabs Medal Quality Score

#Composer package skeleton. This package provides the handler for the 'create-project' command, which automatically collects the necessary information, for example, vendor, package name, author name, author email, etc. It is also possible to set default values using environment variables.

###Available variables and their default values:

root                Project root directory
skeleton            Skeleton directory
vendor              System username from environment variable
name                Package name, uses project root directory basename
description         Just "package_name composer package"
homepage            https://github.com/vendor/package_name
author_name         'user.name' from git config or vendor
author_email        'user.email' from git config
author_homepage     https://github.com/vendor
namespace           Vendor\\Package or Vendor\\PackageName
tests_namespace     Vendor\\Package\\Tests

Usage

$ composer create-project gennadyx/skeleton package_name

#with env variable
$ COMPOSER_DEFAULT_VENDOR="my_vendor" composer create-project gennadyx/skeleton package_name

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer require --dev gennadyx/skeleton-tests
$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email dev@gennadyx.tech instead of using the issue tracker.

Credits

License

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