PHP code example of kunsal / laramodula

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

    

kunsal / laramodula example snippets


 app/
 |-- ... 
 |-- Modules/
 |---- Blogs/
 |------ Events/ 
 |------ Forms/ 
 |-------- BlogForm.php 
 |------ Http/
 |-------- Controllers/ 
 |---------- BlogController.php 
 |-------- Requests/
 |---------- StoreBlogRequest.php 
 |---------- UpdateBlogRequest.php 
 |-------- Services/
 |---------- CreateBlogService.php 
 |-------- routes.php 
 |------ Listeners/
 |------ Mail/
 |------ Models/
 |-------- Migrations/
 |---------- 2019_12_21_112619_create_blogs_table.php
 |-------- Blog.php 
 |------ Providers/
 |-------- BlogEventServiceProvider.php
 |-------- BlogServiceProvider.php
 |------ Repositories/
 |-------- Eloquent/
 |---------- BlogRepository.php
 |-------- BlogInterface.php
 |------ Resources/
 |-------- Lang/
 |-------- Views/
 |---------- index.blade.php
 |---------- form.blade.php
 |------ Traits/