PHP code example of dan-english / package-creator

1. Go to this page and download the library: Download dan-english/package-creator 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/ */

    

dan-english / package-creator example snippets


packages/<package-name>/Http
packages/<package-name>/Http/Controllers
packages/<package-name>/Http/Controllers/<package-name>Controller.php

packages/<package-name>/Listeners

packages/<package-name>/Models
packages/<package-name>/Models/<model-name>.php
packages/<package-name>/Models/Logic
packages/<package-name>/Models/Logic/<model-name>Logic.php

packages/<package-name>/Observers
packages/<package-name>/Observers/<model-name>Observer.php

packages/<package-name>/Providers
packages/<package-name>/Providers/<package-name>ServiceProvider.php

packages/<package-name>/Tests
packages/<package-name>/Views
packages/<package-name>/Views/index.blade.php