2017 © Pedro Peláez
 

library edex

This package can be used to import EDEX files in PHP arrays

image

52software/edex

This package can be used to import EDEX files in PHP arrays

  • Thursday, May 21, 2015
  • by Ertenal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Edex import script

This packages helps reading different edex files. To learn more about EDEX, please read the (dutch) wiki: http://nl.wikipedia.org/wiki/Edex, (*1)

It currently supports the following files: 1. Edexll.txt (for students) 2. Edexlk.txt (for teachers) 3. Edexgr.txt (for groups) 4. Edexlg.txt (for the teacher - groups relation), (*2)

Requirements

  • PHP >= 5.4

Code samples

// 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' );

Composer

Composer can be used to install this package. Add this row to the require array:, (*3)

"52software/edex": "dev-master" 

or you can require it in your console:, (*4)

composer require 52software/edex

Laravel 4

The package is designed to be framework agnostic. But a Laravel 4 Service Provider and facade is included., (*5)

Add the following to your app.php providers list:, (*6)

'Fiftytwo\Edex\EdexServiceProvider',

And add the following to your app.php aliases list:, (*7)

'Edex'              => 'Fiftytwo\Edex\Facades\Edex',

The package shippes with a config file to publish in laravel., (*8)

Contribute

Feel free to contribute in any way., (*9)

License

Fiftytwo Edex is licensed under the MIT License., (*10)

Copyright 2015 52software, (*11)

The Versions

21/05 2015

dev-master

9999999-dev http://www.52software.nl

This package can be used to import EDEX files in PHP arrays

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Daan Aikema

laravel php edex edexll edexlk edexgr edexlg 52software

20/05 2015

v1.0.0

1.0.0.0 http://www.52software.nl

This package can be used to import EDEX files in PHP arrays

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Daan Aikema

laravel php edex edexll edexlk edexgr edexlg 52software