Download the PHP package kevbradwick/drift without Composer
On this page you can find all versions of the php package kevbradwick/drift. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kevbradwick/drift
More information about kevbradwick/drift
Files in kevbradwick/drift
Download kevbradwick/drift
More information about kevbradwick/drift
Files in kevbradwick/drift
Vendor kevbradwick
Package drift
Short Description A lightweight PHP library for mapping data to PHP classes
License MIT
Homepage https://github.com/kevbradwick/drift
Package drift
Short Description A lightweight PHP library for mapping data to PHP classes
License MIT
Homepage https://github.com/kevbradwick/drift
Please rate this library. Is it a good library?
Informations about the package drift
Drift
Drift is a PHP library for mapping arbitrary data to PHP classes.
Installation
Drift is available on Packagist, so you can use composer;
composer require kevbradwick/drift
Usage
Say you have a class with private member variables like this;
And you have some data, possibly consumed from an API, that looks like this;
You can then use Drift\Mapper
to create a new instance of the class,
initialised with the data.
In addition to annotations, you can specify mapping using Yaml or plain old php.
Full documentation can be found on the Wiki.
All versions of drift with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package kevbradwick/drift contains the following files
Loading the files please wait ....