Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 19, 2024 via composer

league/fractal 0.20.1

Handle the output of complex data structures ready for API output.
Package summary
Share
0
issues
1
license
1
MIT
Package created
27 Nov 2013
Version published
11 Apr 2022
Maintainers
4
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
league/fractal@0.20.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of league/fractal 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does league/fractal do?

The league/fractal Composer package acts as a presentation and transformation layer for complex data structures that are ready for API output, such as those found in RESTful APIs. It provides a way to present data consistently, which is particularly helpful for public APIs or APIs used by mobile applications. The package also includes features such as systematic type-casting of data, inclusion of relationships for complex data structures, support for standards like HAL and JSON-API, and support for the pagination of data results.

How do you use league/fractal?

The league/fractal package can be used by installing it via Composer with the command composer require league/fractal. The minimum supported version of PHP for this package is PHP 7.4. Once the package is installed, you can use it to create a protective shield between your source data and output, aid in systematic type-casting of data, include realtionships for complex data structures, and help with the pagination of data results among other things.

Where are the league/fractal docs?

The full documentation for the league/fractal package can be found at http://fractal.thephpleague.com. This documentation is powered by Jekyll and contributes to information about the package's functionalities and uses. For any proposed changes to this documentation, users are encouraged to send a patch via a pull request to the gh-pages branch of the league/fractal GitHub repository.