承接 larapages/admin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

larapages/admin

Composer 安装命令:

composer require larapages/admin

包简介

An easy to implement, lightweight yet complete Laravel 5.5+ admin panel/backend and media/filemanager.

README 文档

README

Latest Stable Version Latest Unstable Version Monthly Downloads Total Downloads License

Admin

An easy to implement, lightweight yet complete Laravel 5.5+ admin panel/backend and media/filemanager. Basically it's a web-based content editor for your Laravel models. It's very easy to integrate into your existing Laravel application.

nickdekruijk/admin is the next evolution of nickdekruijk/larapages which won't be updated anymore but will remain online for historical reference.

Installation

To install the package use

composer require nickdekruijk/admin

Configuration

After installing for the first time publish the config file with

php artisan vendor:publish --tag=config --provider="NickDeKruijk\Admin\ServiceProvider"

A default config file called admin.php will be available in your Laravel app/config folder. See this file for more details. Some important configuration options are highlighted below.

/admin

By default you access admin panel by adding /admin to the URL of your website/application. For example https://www.domain.com/admin You can change this path by changing the adminpath configuration option.

Add 'admin_role' to your users

Admin uses the auth middleware from Laravel. To determine if a user has permission you need to add a admin_role column to your User model and table. You can change the column name with the role_column configuration option. A migration is included with the package so you can run php artisan migrate to add the column. If you don't want to use the included migration you can disable it by changing the configuration option role_column_migration to false.

Configure modules and roles

The most important configuration option is the modules array. The default will get you started but you most likely need to change a lot depending on your application. Each module is identified by a unique slug and it has a fontawesome.io icon and opens a view. It also has a title (defaults to the slug) that you can localise (e.g. title_nl). All other options are view/module specific and will be documented in the future. The slugs are also used to define the permissions in the roles array so if you add or remove modules you probably need to change the roles too.

Login routes

By default Admin will register login and logout routes and use a simple login screen without registration, 'Remember me' or password resets. If your application already uses authentication your routes/web.php file will probably overwrite these routes but you probably want to disable the Admin routes by changing configuration option auth_routes to false.

Creating a new user

If your application has no users Admin provides an artisan console command to create or update a user with a random password and assign a role.

php artisan admin:user <email> [<role>]

Role must match one of the roles defined in the configuration. The default role for a new user is "admin".

FAQ

How do I localize the validation messages?

You could use the package arcanedev/laravel-lang, just run composer require arcanedev/laravel-lang.

License

Admin is open-sourced software licensed under the MIT license.

larapages/admin 适用场景与选型建议

larapages/admin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 141 次下载、GitHub Stars 达 5, 最近一次更新时间为 2018 年 01 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「admin」 「cms」 「backend」 「panel」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 larapages/admin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 larapages/admin 我们能提供哪些服务?
定制开发 / 二次开发

基于 larapages/admin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-14