zero-to-prod / file
A DataModel representing a file.
Maintainers
Details
Fund package maintenance!
Github
Requires
- php: >=8.1.0
- zero-to-prod/data-model: ^81.6
- zero-to-prod/package-helper: ^1.0
Requires (Dev)
- phpunit/phpunit: ^10.0
Suggests
- zero-to-prod/data-model: Data to Type-Safe DTOs.
- zero-to-prod/data-model-helper: Helpers for a DataModel.
README
Introduction
A DataModel representing a file.
Requirements
- PHP 8.1 or higher.
Installation
Install Zerotoprod\DynamicSetter
via Composer:
composer require zero-to-prod/file
This will add the package to your project’s dependencies and create an autoloader entry for it.
Publishing DataModels
You can directly import these files into your project like this:
./vendor/bin/file app/File
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.