1. Go to this page and download the library: Download jdlxnl/jdlx 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/ */
jdlxnl / jdlx example snippets
/*
* Package Service Providers...
*/
Jdlx\Providers\ResponseServiceProvider::class,
'enable_wildcard_permission' => true,
shell
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
php artisan vendor:publish --provider="Jdlx\JdlxServiceProvider"
## By default files won't be overwritten. This is good for existing intallations
## For new installation use force to overwrite the following:
## - router/api.php
## - app/Models/User.php
## - app/Exception/Handler.php
##
php artisan vendor:publish --provider="Jdlx\JdlxServiceProvider" --force
php artisan migrate
shell
php artisan api:scaffold User
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.