PHP Classes

File: support/composer.json

Recommend this page to a friend!
  Classes of Daniele Orlando   FluidXML   support/composer.json   Download  
File: support/composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: FluidXML
Manipulate XML documents using a fluent interface
Author: By
Last change: EditorConfig integration (was missed).
The biggest commit since the 1.0 release.

This is a major step forward breaking compatibility with the past.
Under the hood there is a general reorganization to be PSR-0/4 compliant,
a general cleanup of the API names for being consistent and allowing future
clean APIs growth, some notable additions like the ->filter() method to
programmatically filter the query results and ->html() to output the document
as valid HTML 5 string.

[+] New:
* ->html() is part of the family.
* ->filter() is part of the family.
* ->comment() is part of the family.
* ->setComment() is part of the family.
* ->addComment() is part of the family.
* ->size() is an alias of ->length().
* ->__invoke() is an alias of ->query().
* ->__toString() is an alias of ->xml().
* ->array() replaces ->asArray().
* ->addChild() replaces ->appendChild().
* ->addText() replaces ->appendText().
* ->addCdata() replaces ->appendCdata().

[~] Changed:
* fluidxml() has gained the super powers of fluidify().
* FluidXml->__construct() has gained the super powers of FluidXml::load().
* ::load()/fluidify() can be ONLY used to load an XML file.

[-] Removed:
* ->asArray() has been removed superseded by ->array().
* ->appendText() has been removed superseded by ->addText().
* ->appendCdata() has been removed superseded by ->addCdata().
* ->appendChild() has been removed superseded by ->addChild().
* ->insertSiblingBefore() has been removed superseded by ->prependSibling().
* ->insertSiblingAfter() has been removed superseded by ->appendSibling().

[@] Internal:
* PSR-0/4 compliance.
* FluidXml.php is still there for people not using Composer/PSR-0/4 loaders.
Date: 8 years ago
Size: 904 bytes
 

Contents

Class file image Download
{ "name": "servo/fluidxml", "description": "Concise and fluent XML manipulation library", "type": "library", "keywords": ["xml","templating"], "homepage": "https://github.com/servo-php/fluidxml", "license": "BSD-2-Clause", "authors": [ { "name": "Daniele Orlando", "email": "fluidxml@danieleorlando.com", "homepage": "https://github.com/servo-php/fluidxml", "role": "Developer" } ], "config": { "vendor-dir": "./sandbox/composer/" }, "autoload": { "files": ["./source/FluidXml/fluid.php"], "psr-4": { "FluidXml\\": "./source/FluidXml/" } }, "require": { "php": ">=5.6" }, "require-dev": { "peridot-php/peridot": "1.*", "peridot-php/peridot-code-coverage-reporters": "1.*", "apigen/apigen": "4.*" } }