ozankurt/fluent

Standalone Version of Laravel's Fluent Helper

1.0.1 2024-12-14 17:06 UTC

This package is auto-updated.

Last update: 2024-12-14 17:07:18 UTC


README

Downloads Tests StyleCI License

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'],
]);

MyObject

Changelog

Please see Releases for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see LICENSE for more information.