PHP code example of pedroroccon / laravel-vue-crud

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

    

pedroroccon / laravel-vue-crud example snippets


cd laravel-vue-crud
php composer.phar install

php artisan key:generate

php artisan migrate --seed

php artisan serve

GET /api/produto?s=iPhone&valor_final=5000

POST /api/produto

php artisan tinker
Crud\Models\Produto::factory()->create()