1. Go to this page and download the library: Download brewinteractive/fakend library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
brewinteractive / fakend example snippets
use Fakend\FakendFactory;
use League\Fractal\Serializer\JsonApiSerializer;
use League\Fractal\Serializer\DataArraySerializer;
use League\Fractal\Serializer\ArraySerializer;
use Fakend\Presentation\Serializers\WebApiSerializer;