PHP code example of la09r / web-fullstack-starter-kit-ui-vue-inertia
1. Go to this page and download the library: Download la09r/web-fullstack-starter-kit-ui-vue-inertia 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/ */
la09r / web-fullstack-starter-kit-ui-vue-inertia example snippets
// add:
App\Http\Controllers\Auth\LoginController::class => LA09R\StarterKit\UI\Vue\Inertia\App\Http\Controllers\Auth\LoginController::class,
App\Providers\RouteServiceProvider::class => LA09R\StarterKit\UI\Vue\Inertia\App\Providers\RouteServiceProvider::class
// comment:
App\Providers\RouteServiceProvider::class,
// add:
LA09R\StarterKit\UI\Vue\Inertia\App\Providers\AppServiceProvider::class,
LA09R\StarterKit\UI\Vue\Inertia\App\Providers\RouteServiceProvider::class,
// add:
\LA09R\StarterKit\UI\Vue\Inertia\App\Http\Middleware\HandleInertiaRequests::class,
\Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
base_path('vendor/la09r/web-fullstack-starter-kit-ui-vue-inertia/src/resources/views'),
User::factory()->create() // save: login = `email` field from tinker output, password = `password`
json
"files": [
".env.php"
]
bash
php artisan tinker