ozankurt / fluent
Standalone Version of Laravel's Fluent Helper
1.0.1
2024-12-14 17:06 UTC
Requires
- php: ^8.0
- laravel/framework: ^9.0|^10.0|^11.0
Requires (Dev)
- phpunit/phpunit: ^9.5|^10.0
README
Why?
Because some contributors like to change simple and working code to a more complex and broken one just to be "contributing" to Laravel.
Installation
Run the following command:
composer require ozankurt/fluent
Usage
use OzanKurt\Fluent\Fluent; class MyObject extends Fluent {} $object = new MyObject([ 'name' => 'Car', 'color' => 'green', ]); $object->speed(200)->passengers([ ['name' => 'John Doe'], ['name' => 'Jane Doe'], ]);
Changelog
Please see Releases for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see LICENSE for more information.