PHP code example of khaleelibrahim / laravel-modular
1. Go to this page and download the library: Download khaleelibrahim/laravel-modular 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/ */
bash
php artisan make:module Blog
php artisan make:module-model Blog Post
php artisan make:module-repository Blog Post
php artisan make:module-service Blog Post
php artisan make:module-controller Blog Post
php artisan make:module-request Blog Post
php artisan make:module-resource Blog Post
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.