PHP code example of zdirnecamlcs96 / laravel-helpers
1. Go to this page and download the library: Download zdirnecamlcs96/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/ */
zdirnecamlcs96 / laravel-helpers example snippets
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
use Zdirnecamlcs96\Helpers\Traits\Helpers; // Import here
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, Helpers; // Use here
}