Download the PHP package zero-to-prod/data-model-semver without Composer
On this page you can find all versions of the php package zero-to-prod/data-model-semver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zero-to-prod/data-model-semver
More information about zero-to-prod/data-model-semver
Files in zero-to-prod/data-model-semver
Package data-model-semver
Short Description A DataModel Representing the Components of a SemVer String
License MIT
Homepage https://github.com/zero-to-prod/data-model-semver
Informations about the package data-model-semver
Zerotoprod\DataModelSemver
Contents
- Introduction
- Requirements
- Installation
- Documentation Publishing
- Automatic Documentation Publishing
- Usage
- Helper Methods
- Publishing DataModels
- Local Development
- Contributing
Introduction
A DataModel
representing the components of a SemVer string.
Requirements
- PHP 7.1 or higher.
Installation
Install Zerotoprod\DynamicSetter
via Composer:
This will add the package to your project's dependencies and create an autoloader entry for it.
Documentation Publishing
You can publish this README to your local documentation directory.
This can be useful for providing documentation for AI agents.
This can be done using the included script:
Automatic Documentation Publishing
You can automatically publish documentation by adding the following to your composer.json
:
Usage
Pass a SemVer string to the from()
method.
Helper Methods
Publishing DataModels
You can directly import these files into your project like this:
The first argument is the destination of where the files are copied to.
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
All versions of data-model-semver with dependencies
zero-to-prod/transformable Version ^71.0
zero-to-prod/regex-semver Version ^71.0
ext-json Version *
zero-to-prod/package-helper Version ^1.1.3