Download the PHP package prewk/record without Composer
On this page you can find all versions of the php package prewk/record. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor prewk
Package record
Short Description Immutable validatable record
License MIT
Homepage http://github.com/prewk/record
Package record
Short Description Immutable validatable record
License MIT
Homepage http://github.com/prewk/record
Please rate this library. Is it a good library?
Informations about the package record
Immutable Validatable Record
Validatable records with an API inspired by Immutable Record (but without the memory efficiency..)
Installation
composer require prewk/record
Simple usage
- Extend
\Prewk\Record
- Define fields by implementing
getFields()
- Define (optional) defaults by implementing
getDefaults()
- Construct a base record
- Create new records from that base record
``
Validation
- Implement a validator class that extends
\Prewk\Record\ValidatorInterface
- Define rules on your record by implementing
getRules()
- Every mutation on your record will be routed through your validator
``
Injectable Laravel validated record
``
API
``
License
MIT
PHP 5
Use 1.1
for PHP versions < 7.0.
All versions of record with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package prewk/record contains the following files
Loading the files please wait ....