PHP code example of dinkara / dinkoapi

1. Go to this page and download the library: Download dinkara/dinkoapi 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/ */

    

dinkara / dinkoapi example snippets


        Dinkara\RepoBuilder\RepositoryBuilderServiceProvider::class,
        Dinkara\DinkoApi\Providers\DinkoApiServiceProvider::class,
        Dinkara\DinkoApi\Providers\ApiResponseServiceProvider::class,
        Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class

        'JWTAuth' => Tymon\JWTAuth\Facades\JWTAuth::class,
        'JWTFactory' => Tymon\JWTAuth\Facades\JWTAuth::class,
        'ApiResponse' => Dinkara\DinkoApi\Facades\ResponseFacade::class,


    'dinkoapi.auth' => \Dinkara\DinkoApi\Http\Middleware\DinkoApiMiddleware::class,