Download the PHP package transprime-research/laravel-chained without Composer
On this page you can find all versions of the php package transprime-research/laravel-chained. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download transprime-research/laravel-chained
More information about transprime-research/laravel-chained
Files in transprime-research/laravel-chained
Download transprime-research/laravel-chained
More information about transprime-research/laravel-chained
Files in transprime-research/laravel-chained
Vendor transprime-research
Package laravel-chained
Short Description PHP Laravel-Chained
License MIT
Homepage https://transprime-research.github.io/laravel-chained/
Package laravel-chained
Short Description PHP Laravel-Chained
License MIT
Homepage https://transprime-research.github.io/laravel-chained/
Please rate this library. Is it a good library?
Informations about the package laravel-chained
About Laravel-chained
Laravel chained help to chain method calls on any class.
Do it Like a PRO :ok:
Installation
composer require transprime-research/laravel-chained
Quick Usage
Say we have this class with a lot of static methods. Instead of:
You use:
Or Aliased method calls:
Other Usages
tap() method
Coming Soon
Chain on more classes
Api implementation to be decided
Additional Information
This package is part of a series of "Code Dare".
See other packages in this series here:
- A smart PHP if...elseif...else statement https://github.com/omitobi/conditional
- A functional PHP pipe in object-oriented way https://github.com/transprime-research/piper
- Array now an object https://github.com/transprime-research/arrayed
- A smart PHP try...catch statement https://github.com/transprime-research/attempt
- A smart Carbon + Collection package https://github.com/omitobi/carbonate
- Jsonable Http Request(er) package with Collections response https://github.com/omitobi/laravel-habitue
Contributions
For new features, checkout with prefix feature/#issueid
e.g feature/#100-add-auto-deploy
- Clone this repository
- run
sh dockerizer.sh
orbash dockerizer.sh
- execute into the docker environment with
docker-compose exec conditional sh
(sh
can be another bash) - run tests with
vendor/bin/phpunit
The docker setup was made easy using Laravel Dockerizer
Similar packages
Licence
MIT (See LICENCE file)
All versions of laravel-chained with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package transprime-research/laravel-chained contains the following files
Loading the files please wait ....