PHP code example of danielebarbaro / laravel-entity-details
1. Go to this page and download the library: Download danielebarbaro/laravel-entity-details 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/ */
danielebarbaro / laravel-entity-details example snippets
class User extends Authenticatable
{
[...]
use EntityDetail, EntityDetailHydrate;
[...]
}
[...]
class Biker extends Model
{
[...]
use EntityDetail, EntityDetailHydrate;
[...]
}
[...]
class Company extends Model
{
[...]
use EntityDetail, EntityDetailHydrate;
[...]
}