1. Go to this page and download the library: Download achyutn/laravel-helpers 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/ */
achyutn / laravel-helpers example snippets
namespace App\Models;
use AchyutN\Traits\HasTheSlug;
class Post extends Model
{
use HasTheSlug;
}
namespace App\Models;
use AchyutN\Traits\HasTheMedia;
class Post extends Model
{
use HasTheMedia;
}
namespace App\Models;
use AchyutN\Traits\HasTheDashboardTraits;
class Post extends Model
{
use HasTheDashboardTraits;
}