mohammad_sulaiman/dashboard_setup
最新稳定版本:v1.0.1
Composer 安装命令:
composer require mohammad_sulaiman/dashboard_setup
包简介
A library for setting up a Laravel dashboard, creating language switch middleware, routes, controllers, and language files.
README 文档
README
A PHP library for setting up an admin dashboard in Laravel with language settings. This package includes middleware and routes for switching languages (language switch).
Features
- Easily set up an admin dashboard for Laravel projects.
- Create middleware for language switching.
- Generate routes for language switching.
- Automatically create language files.
Installation
Install the package using Composer:
composer require mohammad_sulaiman/dashboard_setup php vendor/mohammad_sulaiman/dashboard_setup/src/install.php
During installation, you will be prompted to provide two inputs:
- Source Directory (Optional): If you want to include a custom dashboard provided by the user.
- Laravel Project Path (Required): The path to your Laravel project.
Ensure that the Laravel project path is correct, as it is mandatory for the setup process.
Visit on Packagist
You can find the package on Packagist at the following link:
Dashboard Setup for Laravel on Packagist
Usage
-
After installation, the package will automatically configure the following:
- Middleware: For handling language switching logic.
- Routes: Adds routes for managing language switches.
- Language Files: Initializes the language files in the
resources/langdirectory.
-
To customize or update the settings, modify the configuration in the
srcdirectory.
License
This package is licensed under the MIT License.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-19