davidpeach / composer-manuscript
A quick-start tool for building composer packages locally
Fund package maintenance!
Patreon
Requires
- php: ^8.0
Requires (Dev)
- clue/phar-composer: ^1.2
- guzzlehttp/guzzle: ^7.0.1
- http-interop/http-factory-guzzle: ^1.0
- illuminate/support: ^8.42
- knplabs/github-api: ^3.4.0
- phpunit/phpunit: ^9.5
- symfony/console: ^5.2
- symfony/dependency-injection: ^6.0
- symfony/filesystem: ^5.3
- symfony/finder: ^5.2
- symfony/framework-bundle: ^5.3
- symfony/process: ^5.2
- symfony/var-dumper: ^5.2
This package is auto-updated.
Last update: 2025-01-11 14:09:01 UTC
README
The playgrounds functionality is currently broken but will be fixing this very soon
Manuscript is a tool to help you with developing and testing composer packages on your computer.
Installation
composer global require davidpeach/composer-manuscript
How it works
Once installed, you just assign a local directory as being a "manuscript" directory.
So you could do this:
cd ~/my-local-packages manuscript init
The manuscript init
command just creates a .manuscript
file in the current directory, along with two folders:
- packages
- playgrounds
./packages is where you place any packages that you are building.
./playgrounds is where any known frameworks can be installed for you and have your package in development installed into.
So for example, you could be developing a laravel package and want a local laravel installation to manually test things in.
With the manuscript play
command, you can tell Manuscript to download a copy of Laravel and use the repository symlink functionality to install your package into that Laravel installation for testing.
How to contribute
Setting up
1. Clone this repo.
2. Run `composer install`.
3. Run `composer test` to check the test suite passes on your machine.