PHP code example of ramiz / laravelstarterkit
1. Go to this page and download the library: Download ramiz/laravelstarterkit 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/ */
ramiz / laravelstarterkit example snippets
bash
php artisan vendor:publish --provider="Ramiz\Laravelstarter\LaravelStarterServiceProvider"
bash
php artisan migrate
bash
php artisan laravel-pwa:publish
`
Update public/pwa/manifest.stub file for basic pwa settings.
6. Add the following routes in your web.php file:
Route::middleware(['auth'])->group(function(){
Route::get('/dashboard',function(){
return view('admin.dashboard');
})->name('dashboard');
});