Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rummykhan/laravel-collection
Standalone version of Laravel Collection.
https://github.com/rummykhan/laravel-collection
collection laravel php symfony yii
Last synced: 24 days ago
JSON representation
Standalone version of Laravel Collection.
- Host: GitHub
- URL: https://github.com/rummykhan/laravel-collection
- Owner: rummykhan
- License: mit
- Created: 2018-04-11T12:55:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T14:21:51.000Z (over 6 years ago)
- Last Synced: 2024-09-30T00:41:01.776Z (about 1 month ago)
- Topics: collection, laravel, php, symfony, yii
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Collection
This is a standalone version of `laravel/collection` to use in any php project.
### Motivation
Since I've been using laravel extensively and later moved to other php
frameworks i.e. Symfony and Yii. There are times when you have to manipulate
arrays extensively and it's too painful without `laravel/collection`.
So I extracted the `laravel/collection` for standalone use. Hope it helps.### Install using composer
```php
composer require rummykhan/laravel-collection
```### How To
To create a collection object you can use either of two ways.
1. Using `RummyKhan\Collection\Collection::make($arr)`
2. Using laravel `collect($arr)` method.### Complete documentation
To view the full documentation please visit
[https://laravel.com/docs/5.6/collections](https://laravel.com/docs/5.6/collections)### Contact
[[email protected]](mailto://[email protected])