Download the PHP package happyclicker/laravel-formatter without Composer
On this page you can find all versions of the php package happyclicker/laravel-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download happyclicker/laravel-formatter
More information about happyclicker/laravel-formatter
Files in happyclicker/laravel-formatter
Package laravel-formatter
Short Description A formatting library that converts data output between XML, CSV, JSON, TXT, YAML and a few others.
License MIT
Homepage http://github.com/happyclicker/laravel-formatter
Informations about the package laravel-formatter
Formatter Bundle
This is a fork from https://github.com/nmfmcosta/laravel-formatter which is a fork from https://github.com/soapbox/laravel-formatter updated to work on Laravel 10.
All credit goes to the original authors.
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 ^8.0|^9.0|^10.0