2017 © Pedro Peláez
 

cakephp-plugin cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

image

oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  • Thursday, September 28, 2017
  • by oefenweb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10,889 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 12 Versions
  • 4 % Grown

The README.md

Edexml plugin for CakePHP

Build Status PHP 7 ready Coverage Status Packagist downloads Code Climate Scrutinizer Code Quality, (*1)

Requirements

  • CakePHP 2.9.0 or greater.
  • PHP 7.0.0 or greater.

Installation

Clone/Copy the files in this directory into app/Plugin/Edexml, (*2)

Configuration

Ensure the plugin is loaded in app/Config/bootstrap.php by calling:, (*3)

CakePlugin::load('Edexml');

Usage

Validating Edexml file upload from a controller

First include the plugin model in your controller:, (*4)

public $uses = ['Edexml.Edexml'];

Validate Edexml file:, (*5)

$this->Edexml->saveAll($this->request->data, ['validate' => 'only']);

And in the corresponding view:, (*6)

echo $this->Form->create('Edexml.Edexml', ['type' => 'file']);
echo $this->Form->input('file', ['type' => 'file']);
echo $this->Form->end(__('Submit'));

Parse Edexml file to a normalized array

First include the plugin model in your controller:, (*7)

public $uses = ['Edexml.Edexml'];

Convert the Edexml file:, (*8)

$filename = $this->request->data('Edexml.file.tmp_name');
$data = $this->Edexml->parseToArray($filename);
$data = $this->Edexml->convert($data);

The Versions

28/09 2017

dev-master

9999999-dev http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

28/09 2017

v2.3.0

2.3.0.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

14/06 2017

v2.2.0

2.2.0.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

14/06 2017

v2.1.0

2.1.0.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

05/04 2017

v2.0.1

2.0.1.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

29/11 2016

v2.0.0

2.0.0.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

08/07 2016

v1.2.0

1.2.0.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

28/05 2016

v1.1.2

1.1.2.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

09/03 2016

v1.1.1

1.1.1.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

12/02 2016

v1.1.0

1.1.0.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

27/12 2014

v1.0.1

1.0.1.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml

17/12 2014

v1.0.0

1.0.0.0 http://github.com/Oefenweb/cakephp-edexml

An Edexml parser / validator Plugin for CakePHP

  Sources   Download

MIT

The Requires

 

cakephp edexml