PHP code example of mk990 / mkapi

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

    

mk990 / mkapi example snippets

bash
php artisan install:mkapi
bash
php artisan mkapi:baseControllerSWG
bash
php artisan mkapi:ModelSWG --name=YOUR_MODEL_NAME
bash
php artisan mkapi:ControllerSWG --name=YOUR_CONTROLLER_NAME
bash
php artisan mkapi:ModelSWG --name=YOUR_MODEL_NAME --force
bash
php artisan install:mkapi --backup
bash
php artisan install:mkapi --iran
bash
php artisan mkapi:ControllerSWG --name=YOUR_CONTROLLER_NAME --code
bash
   php artisan install:mkapi
   
bash
   php artisan mkapi:ModelSWG --name=ProductModel
   php artisan mkapi:ControllerSWG --name=ProductController