PHP code example of minionfactory / module-factory

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

    

minionfactory / module-factory example snippets


app
    -Http
    -Modules
        -FullComponent
            -Config
                setup.php
            -Controllers
                PageController.php
                AdminController.php
            -Events
                -Listeners
                    PageSave.php
            -Policies
                PagePolicy.php
            -Routes
                web.php
                api.php
            -Shortcodes (optional)
                page-list.php
            -Views
                page.blade.php
                index.blade.php
        -PartialComponent
            -Controllers
                ShortcodeController.php
            -Shortcodes (optional)
                just-shortcode.php
            -Views
                list.blade.php