PHP code example of ins0mniac / service-generator

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

    

ins0mniac / service-generator example snippets

bash
$ php artisan create:service NameOfTheService
bash
$ php artisan create:service
bash
$ php artisan create:service NameOfTheService --interface NameOfTheInterface
bash
$ php artisan create:service --interface
bash
$ php artisan create:interface NameOfTheInterface
bash
$ php artisan create:interface
bash
$ php artisan create:interface NameOfTheInterface --service NameOfTheService
bash
$ php artisan create:interface --service
bash
$ php artisan create:provider NameOfTheProvider
bash
$ php artisan create:provider
bash
$ php artisan create:provider NameOfTheProvider --register
bash
$ php artisan create:provider --register