momentumstudio / composer-presets
The easy way to bootstrap PHP projects.
Requires
- php: ^7.2.0
- ext-json: *
- ext-posix: ^7.2.0
- illuminate/contracts: ^6.0
- illuminate/filesystem: ^6.0
- illuminate/support: ^6.0
- laravel-zero/framework: ^6.0
- nunomaduro/laravel-console-menu: ^3.0.0
- ocramius/package-versions: 1.4.*
- symfony/process: ^4.1
Requires (Dev)
- mockery/mockery: ^1.0
- momentumstudio/coding-standards: ^1.2
- phpstan/phpstan: ^0.12.0
- phpstan/phpstan-strict-rules: ^0.12.0
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2020-11-05 08:56:56 UTC
README
Composer Presets
This project is licensed MIT.
Composer Presets by Momentum Studio is a tool that allows you to store one or more presets for bootstrapping a project. There are a set a default presets provided or you can simply edit an provide your own, in JSON format.
Installation & Usage
WARNING: This is in a very early alpha state, so may error a lot!
Requires
- PHP 7.2.0+
- Laravel 6.0+
Use Composer to install Composer Presets as a global dependency on your machine:
composer global require momentumstudio/composer-presets:dev-master
Ensure Composer is also in your $PATH
.
You can then run a preset by running preset
. This will show a menu with the current
default presets.
Running preset install {name} {directory}
will let you run a preset on a given directory.
If the directory doesn't exist, it will be created automatically.
To create your own presets, run preset edit {name}
. This will open your default editor.
If you are using the same name as a default preset, the editor will copy its config ready
for you to modify to your needs. This allows you to create your own default preset for Laravel!
Contributing
Please see CONTRIBUTING.md for details about how you can help!