benjaminmal / library-template
Benjaminmal library template
v2.0.0
2022-09-05 21:17 UTC
Requires
- php: ^8.0
Requires (Dev)
- benjaminmal/coding-standard: ^1.0
- php-parallel-lint/php-var-dump-check: ^0.5.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.2
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
- symfony/var-dumper: ^5.4 || ^6.0
This package is auto-updated.
Last update: 2024-11-16 18:17:44 UTC
README
Installation & usage
- Create your library
$ composer create-project benjaminmal/library-template my-library
- Modify composer.json to fit with your library
{ "name": "my-org/my-library", "description": "My library", "type": "library", "autoload": { "psr-4": { "MyNamespace\\MyLibrary\\": "lib/" } }, "autoload-dev": { "psr-4": { "MyNamespace\\MyLibrary\\Tests\\": "tests/" } } }
- Initialize git
$ git init
- Enjoy!!