dhii / package-interface
Interfaces for package-related interop
Installs: 84 135
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^7.1 | ^8.0
- dhii/validation-interface: ^0.3-alpha1
Requires (Dev)
- phpunit/phpunit: ^7.0 | ^8.0 | ^9.0
- slevomat/coding-standard: ^6.0
- symfony/polyfill-php80: ^1.19
- vimeo/psalm: ^4.4.0
This package is auto-updated.
Last update: 2024-12-08 22:41:16 UTC
README
Interfaces for package-related interop.
Details
Often, it is necessary to represent a generic package, or some specific kind of package, like a WordPress plugin or a Drupal extension. In this case, it would be useful to have an interop interface to represent the package, or a common ancestor of packages. This package aims to address that need.
The idea is that packages are located somewhere, have a name, and a version. A version is a SemVer-compliant comparable identifier. Versions also need to be compared, so as to determine whether a version satisfies a specific version constraint
Development
This project ships with Docker and PHPStorm configurations. Just
copy .env.example
to .env
, tweak if necessary, then use
docker-compose
to run various tools, or use PHPStorm integrations.