mrbenosborne / super-collection
Enhances the Collection class provided by Laravel.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/mrbenosborne/super-collection
Requires
- php: >=7.0
- illuminate/support: ^5.5|^6|^7
Requires (Dev)
- laravel/framework: 5.5.x
- phpunit/phpunit: 9.3.x
This package is auto-updated.
Last update: 2025-09-29 02:43:24 UTC
README
Enhances the Collection class provided by Laravel.
Install
composer require mrbenosborne/super-collection
Documentation
Methods
CSV File
Create a Collection from a CSV file.
<?php include 'vendor/autoload.php'; use SuperCollection\Collection; // Create a new collection from CSV file $collection = Collection::fromCSVFile(__DIR__ . '/data.csv'); // Dump the collection dd($collection->all());