PHP code example of iak / make-class

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

    

iak / make-class example snippets




namespace App\Custom\Folder;

class MyCoolClass
{
    //
}
bash
$ php artisan make:class Custom/Folder/MyCoolClass
app/Custom/Folder/MyCoolClass.php
test/Unit/Custom/Folder/MyCoolClassTest.php
bash
php artisan vendor:publish --tag=stub