PHP code example of 52software / edex
1. Go to this page and download the library: Download 52software/edex 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/ */
52software / edex example snippets
// Init the importer script
$importer = new \Fiftytwo\Edex\Importer();
// Init the importer script with a specified date format
$importer = new \Fiftytwo\Edex\Importer([
'date_format' => 'dd|mm|yy'
]);
// Read a edexll file into an array
$students = $importer->import( $_FILES['edexll'], 'edexll' );
// Use the laravel 4 facade to read a edexlk file
$teachers = Edex::import( Input::get('edexlk'), 'edexlk' );
'Edex' => 'Fiftytwo\Edex\Facades\Edex',