Download the PHP package soapbox/laravel-formatter without Composer
On this page you can find all versions of the php package soapbox/laravel-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-formatter
Changelog
- Update support for Laravel 6 & phpunit 8
- Update composer.json
- Upgrade to PSR-4
- add parameter newline, delimiter, enclosure, and escape to export csv
- When converting a XML to an array, convert @attributes to attribute
- add parameter encoding and formated to export xml
- JSON parse fix (Instead of only converting the first level to array, use the associative array parameter with true, so all levels will be decoded to array structure)
- Add support for laravel 5
- add package discovery for laravel 5
- add support delimiter to a csv
Formatter Bundle
A formatter package that will help you to easily convert between various formats such as XML, JSON, CSV, etc...
Goals
The goals of this library are to allow the transfomation of data formats from one type to another. See Parsers and Formats to see supported input / output formats.
Installation
Through command line:
Through composer.json:
Parsers
All of the following are supported formats that the formatter can read from.
- Array
- CSV
- JSON
- XML
- YAML
Formats
All of the following are formats that are supported for output.
- Array
- CSV
- JSON
- XML
- YAML
General Usage
Including The Formatter
Supported Types
Making Your First Formatter(s)
Outputting From Your Formatter
Deprecated Functionality
The following have been deprecated from the library, however you can easily continue using them in your application
Serialized Array
PHP Export
All versions of laravel-formatter with dependencies
league/csv Version ~9.0
mustangostang/spyc Version ~0.6
illuminate/support Version ~5.5