承接 xn/laravel-admin 相关项目开发

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

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

xn/laravel-admin

Composer 安装命令:

composer require xn/laravel-admin

包简介

laravel admin

README 文档

README

laravel-admin

laravel-admin is administrative interface builder for laravel which can help you build CRUD backends just with few lines of code.

Documentation | 中文文档 | Demo | Demo source code | Extensions

Build Status StyleCI Packagist Total Downloads Awesome Laravel

</a> 

Inspired by SleepingOwlAdmin and rapyd-laravel.

Requirements

  • PHP >= 7.0.0
  • Laravel >= 5.5.0
  • Fileinfo PHP Extension

Installation

This package requires PHP 7+ and Laravel 5.5, for old versions please refer to 1.4

First, install laravel 5.5, and make sure that the database connection settings are correct.

composer require xn/laravel-admin

Then run these commands to publish assets and config:

php artisan vendor:publish --provider="Xn\Admin\AdminServiceProvider"

php artisan vendor:publish --tag=laravel-admin-checkboxtree

After run command you can find config file in config/admin.php, in this file you can change the install directory,db connection or table names.

At last run following command to finish install.

php artisan admin:install

Open http://localhost/admin/ in browser,use username admin and password admin to login.

Configurations

The file config/admin.php contains an array of configurations, you can find the default configurations in there.

Session Configuration

app/config/session.php

  • change table from 'sessions' to 'admin_sessions'
    # 重整按鈕定時器
    'refresh_timer' => [
        'roles' => [
            'administrator'
        ],
        'timers' => [
            10,
            20,
            30,
            60
        ]
    ],

Form使用欄位table時檔案、圖片上傳在修改存檔會消失的解決方式

    public function setItemsAttribute($value)
    {
        $oldValue = $this->attributes['items']??[];
        $updValue = array_replace_recursive($oldValue, $value);
        $newValue = array_intersect_key($updValue, $value);
        $this->attributes['items'] = array_values($newValue);
    }

Login登入採用database時env配置

    SESSION_DRIVER=database.session

filesystems.php配置

    'admin' => [
        'driver' => 'local',
        'root' => public_path('uploads'),
        'visibility' => 'public',
        'url' => env('APP_URL').'/uploads',
    ],

Auth Method

Language Translate

https://github.com/spatie/laravel-translation-loader

Extensions

ExtensionDescriptionlaravel-admin
helpersSeveral tools to help you in development~1.5
media-managerProvides a web interface to manage local files~1.5
api-testerHelp you to test the local laravel APIs~1.5
schedulingScheduling task manager for laravel-admin~1.5
redis-managerRedis manager for laravel-admin~1.5
backupAn admin interface for managing backups~1.5
log-viewerLog viewer for laravel~1.5
configConfig manager for laravel-admin~1.5
reporterProvides a developer-friendly web interface to view the exception~1.5
wangEditorA rich text editor based on wangeditor~1.6
summernoteA rich text editor based on summernote~1.6
china-distpicker一个基于distpicker的中国省市区选择器~1.6
simplemdeA markdown editor based on simplemde~1.6
phpinfoIntegrate the phpinfo page into laravel-admin~1.6
php-editor <br/> python-editor <br/> js-editor<br/> css-editor<br/> clike-editorSeveral programing language editor extensions based on code-mirror~1.6
star-ratingStar Rating extension for laravel-admin~1.6
json-editorJSON Editor for Laravel-admin~1.6
grid-lightboxTurn your grid into a lightbox & gallery~1.6
daterangepickerIntegrates daterangepicker into laravel-admin~1.6
material-uiMaterial-UI extension for laravel-admin~1.6
sparklineIntegrates jQuery sparkline into laravel-admin~1.6
chartjsUse Chartjs in laravel-admin~1.6
echartsUse Echarts in laravel-admin~1.6
simditorIntegrates simditor full-rich editor into laravel-admin~1.6
cropperA simple jQuery image cropping plugin.~1.6
composer-viewerA web interface of composer packages in laravel.~1.6
data-tableAdvanced table widget for laravel-admin~1.6
watermarkText watermark for laravel-admin~1.6
google-authenticatorGoogle authenticator~1.6

Contributors

This project exists thanks to all the people who contribute. [Contribute]. ## Backers Thank you to all our backers! 🙏 [Become a backer] ## Sponsors Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Other

laravel-admin based on following plugins or services:

License

laravel-admin is licensed under The MIT License (MIT).

xn/laravel-admin 适用场景与选型建议

xn/laravel-admin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.04k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 12 月 11 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-12-11