定制 mohammad_sulaiman/dashboard_setup 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Source Directory (Optional): If you want to include a custom dashboard provided by the user.
  2. 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

  1. 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/lang directory.
  2. To customize or update the settings, modify the configuration in the src directory.

License

This package is licensed under the MIT License.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-19