konafets / sylius-installer
Installs Sylius and create plugin skeleton
dev-develop
2018-11-19 08:20 UTC
Requires
- ext-json: *
- anahkiasen/underscore-php: ^2.0
- mikey179/vfsstream: ^1.6
- nadar/php-composer-reader: ^1.0
- symfony/console: ^4.1
- symfony/filesystem: ^4.1
- symfony/finder: ^4.1
- symfony/process: ^4.1
Requires (Dev)
- phpspec/phpspec: ^5.1
- phpunit/phpunit: ^7.4
This package is auto-updated.
Last update: 2019-12-19 14:59:46 UTC
README
Overview
Starting with Sylius and plugin development I read the guide on https://docs.sylius.com/en/latest/plugins/plugin-development-guide/naming.html about how to renaming the dummy plugin. So I have to do this over and over again ... and not only me ... everybody who wants to create a custom plugin has to do this boring task.
No way!
The command does the following things:
- Installs the Sylius Plugin Skeleton to a custom directory
- Adjust the composer.json
- Renaming all the things
- Installing the assets (optional)
- Creates an SQLite database (optional)
- Loads the Fixtures to the database (optional)
- Starts the internal server (optional)
Installation
$ composer global require konafets/sylius-installer
Synopsis
Description: Creates the plugin skeleton Usage: new:plugin [options] Options: -d, --description=DESCRIPTION The description of your plugin -a, --author=AUTHOR Author name of the plugin --dev Installs the latest "development" release -f, --force Forces install even if the directory already exists -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 -pn, --package-name=PACKAGE-NAME Name of the package -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Usage
$ cd Development/
$ sylius new:plugin