publishpress/psr-container

Common Container Interface (PHP FIG PSR-11), prefixed for PublishPress plugins

2.0.1.10 2023-05-30 18:17 UTC

This package is auto-updated.

Last update: 2024-03-30 00:38:15 UTC


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

  1. Update the version constraint for the original library on the composer.json file;
  2. 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);
  3. Run the command composer update. The scripts on the lib folder will be auto prefixed and the files include.php and Versions.php class auto generated;
  4. Run the tests composer test to run tests and make sure the Version class is working properly;
  5. Make a manual check in the prefixed library;
  6. Commit the changes;
  7. Create a new release on GitHub naming it with the original version number and incrementing the fourth digit with the current iteration;