hoangphamdev/simple-admin-generator
Composer 安装命令:
composer require hoangphamdev/simple-admin-generator
包简介
SAG is a Laravel package designed to streamline the process of creating administrative panels for web applications. With this package, developers can quickly generate basic administrative interfaces for managing various aspects of their applications, such as user management, content management, sett
README 文档
README
Simple Admin Generation
⛵simple-admin-generator is a powerful and easy-to-use package for generating admin functionalities in your Laravel application. With a focus on simplicity and efficiency, this package streamlines the creation and management of admin panels, making it easier for developers to build robust backend systems.
Requirements
- PHP >= 7.0.0
- Laravel >= 9.x
Prerequisites
If you don't already have an Apache local environment with PHP and MySQL, use one of the following links:
- Windows: https://updivision.com/blog/post/beginner-s-guide-to-setting-up-your-local-development-environment-on-windows
- Linux: https://howtoubuntu.org/how-to-install-lamp-on-ubuntu
- Mac: https://wpshout.com/quick-guides/how-to-install-mamp-on-your-mac/
Also, you will need to install Composer: https://getcomposer.org/doc/00-intro.md
And Laravel: https://laravel.com/docs/9.x/installation
Make sure all database connections are set up correctly in your .env file.
Installation
Install package using command:
composer require hoangphamdev/simple-admin-generator
Run following command to install.
php artisan sag:install
Open http://localhost/admin/login in browser,use email admin@sag.com and password secret to login.
Edit your dashboard at resources/views/sag/dashboard.blade.php
Documentation
Generate new UI
This feature will generate a basic UI for you so that you can quickly create your own CRUD functionality.
Run following command:
php artisan sag:generate_ui <Your functionnalities name>
Example: php artisan sag:generate_ui Blog
Then open http://localhost/admin/blog to see your new UI.
Your functionality files will be generated following the structure below. Open and edit them as you wish.
File Structure
┣ 📂Http
┗📂Controllers
┗📂SAG
┗📜BlogController.php
┣ 📂recources
┗ 📂views
┗ 📂sag
┗ 📂blog
┣📜create.blade.php
┣📜edit.blade.php
┣📜edit.blade.php
┣📜index.blade.php
Other
simple-admin-generator based on following plugins or services:
License
simple-admin-generator is licensed under The MIT License (MIT).
hoangphamdev/simple-admin-generator 适用场景与选型建议
hoangphamdev/simple-admin-generator 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 27 次下载、GitHub Stars 达 4, 最近一次更新时间为 2024 年 07 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 hoangphamdev/simple-admin-generator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hoangphamdev/simple-admin-generator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-20