PHP code example of alqudiry / dashboard
1. Go to this page and download the library: Download alqudiry/dashboard 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/ */
alqudiry / dashboard example snippets
'webServiceAuth' => \App\Http\Middleware\WebServiceAuth::class,
App\Providers\FortifyServiceProvider::class,
Route::get('/', [\App\Http\Controllers\HomeController::class, 'index'])->name('home');
Route::group(['middleware' => ['auth']], function () {
Route::group(['as' => 'user.', 'prefix' => 'user'], function () {
Route::resource('/profile', \App\Http\Controllers\User\ProfileController::class)->only('index', 'store');
});
Route::group(['as' => 'dashboard.', 'prefix' => 'dashboard'], function () {
Route::group(['as' => 'system.', 'prefix' => 'system'], function () {
Route::resource('/statistics', \App\Http\Controllers\Dashboard\System\StatisticsController::class)->only('index');
Route::resource('/users', \App\Http\Controllers\Dashboard\System\UsersController::class)->only('index', 'edit', 'update');
Route::resource('/roles', \App\Http\Controllers\Dashboard\System\RolesController::class)->except('show', 'destroy');
Route::resource('/web-services', \App\Http\Controllers\Dashboard\System\WebServicesController::class)->except('show', 'destroy');
Route::resource('/settings', \App\Http\Controllers\Dashboard\System\SettingsController::class)->only('index', 'store');
});
});
});
bash
app/Models/User.php
database/factories/UserFactory.php
database/migrations/2014_10_12_000000_create_users_table.php
database/migrations/2014_10_12_100000_create_password_resets_table.php
resources/lang/ar
resources/views
package.json
webpack.mix.js
bash
php artisan vendor:publish --provider="Alqudiry\Dashboard\DashboardServiceProvider"