PHP Package: spatie/fractalistic

Fractalistic is a PHP library for creating SEO-optimized API responses using the Fractal library. It helps in structuring your API data efficiently.

Current Version: 2.11.0
Last Updated: 2025-01-27
PHP Requirement: ^7.4|^8.0
Dependencies:
spatie/fractal
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Fractalistic is a powerful PHP library that leverages the Fractal library to structure your API responses for enhanced SEO performance. With Fractalistic, you can easily transform complex data structures into standardized API responses, helping you maintain a well-organized and optimized API architecture. This library simplifies the process of formatting your API data, ensuring that your endpoints are search engine-friendly and easily consumable by client applications. Whether you're developing RESTful APIs or building data-driven applications, Fractalistic provides a robust solution for managing your API output effectively.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.11.0

Download Download v2.11.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/fractalistic/2.11.0/loader.php';
require_once 'libs/spatie/fractal/{lib_version}/loader.php';

use Spatie\Fractalistic\Fractalistic;

$obj = new Fractalistic();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.