PHP code example of nilportugues / serializer-eloquent
1. Go to this page and download the library: Download nilportugues/serializer-eloquent 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/ */
nilportugues / serializer-eloquent example snippets
use NilPortugues\Serializer\Drivers\Eloquent\EloquentDriver;
$serialized = EloquentDriver::serialize($value);