PHP code example of janareit / laravel5generators

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

    

janareit / laravel5generators example snippets


routes.php

Route::resource('masterdata/manufacturing/moulding_machines', 'Masterdata\Manufacturing\MouldingMachinesController');

RouteServiceProvider.php

$router->model('moulding_machines', 'App/Repositories/Masterdata/Manufacturing/MouldingMachine');