PHP code example of leogopal / laravel-startercrud

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

    

leogopal / laravel-startercrud example snippets


php artisan lg:crud example

php artisan migrate

php artisan lg:crud example --migrate

or

php artisan lg:crud example -m

app/Models/Example.php

app/Models/Traits/Attribute/ExampleAttribute.php

app/Http/Controllers/Backend/ExampleController.php

app/Repositories/Backend/ExampleRepository.php

app/Http/Requests/Backend/ManageExampleRequest.php
app/Http/Requests/Backend/StoreExampleRequest.php
app/Http/Requests/Backend/UpdateExampleRequest.php

app/Events/Backend/Example/ExampleCreated.php
app/Events/Backend/Example/ExampleUpdated.php
app/Events/Backend/Example/ExampleDeleted.php

app/Listeners/Backend/Example/ExampleEventListener.php

database/migrations/\YYYY_MM_DD_create_examples_table.php

routes/backend/examples.php

routes/breadcrumbs/backend/example.php



sidebar-examples.blade.php