PHP code example of nelson-dominici / slimgry
1. Go to this page and download the library: Download nelson-dominici/slimgry 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/ */
nelson-dominici / slimgry example snippets
use NelsonDominici\Slimgry\Slimgry;
$app->post('/api/auth', [AuthController::class, 'login'])->add(new Slimgry(
[
'email' => ['
[
'email' => ' '
[
'users.adm.email' => ['['
use NelsonDominici\Slimgry\Slimgry;
$app->post('/api/auth', [AuthController::class, 'auth'])->add(new Slimgry(
[
'email' => [' 'password.