publishpress / psr-container
Common Container Interface (PHP FIG PSR-11), prefixed for PublishPress plugins
2.0.1.10
2023-05-30 18:17 UTC
Requires
- php: >=7.2.5
Requires (Dev)
- brianhenryie/strauss: ^0.14.0
- codeception/module-asserts: ^1.0
- codeception/module-cli: ^1.0
- codeception/module-db: ^1.0
- codeception/module-filesystem: ^1.0
- codeception/module-phpbrowser: ^1.0
- codeception/module-webdriver: ^1.0
- codeception/util-universalframework: ^1.0
- lucatume/wp-browser: ^3.1
- psr/container: 2.0.1
- publishpress/codeception-extension-extended-copier: ^1.0
- publishpress/version-loader-generator: ^1.0
README
This repository holds all interfaces related to PSR-11 (Container Interface), prefixed for PublishPress.
Note that this is not a Container implementation of its own. It is merely abstractions that describe the components of a Dependency Injection Container.
The installable package and implementations are listed on Packagist.
How to update the prefixed library
- Update the version constraint for the original library on the
composer.json
file; - Update the version number for this prefixed library in the
composer.json
file with the new version of the original library and the current iteration (4th digit); - Run the command
composer update
. The scripts on thelib
folder will be auto prefixed and the filesinclude.php
andVersions.php
class auto generated; - Run the tests
composer test
to run tests and make sure the Version class is working properly; - Make a manual check in the prefixed library;
- Commit the changes;
- Create a new release on GitHub naming it with the original version number and incrementing the fourth digit with the current iteration;