PHP code example of mrbenosborne / super-collection
1. Go to this page and download the library: Download mrbenosborne/super-collection library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mrbenosborne / super-collection example snippets
uperCollection\Collection;
// Create a new collection from CSV file
$collection = Collection::fromCSVFile(__DIR__ . '/data.csv');
// Dump the collection
dd($collection->all());