sabbottlabs/laravel-adminerneo
Composer 安装命令:
composer require sabbottlabs/laravel-adminerneo
包简介
Laravel integration for AdminerNeo v5, a modern database management tool
README 文档
README
Laravel integration for AdminerNeo v5, a modern database management tool.
Installation
- Install via Composer:
composer require sabbottlabs/laravel-adminerneo
- Publish assets:
php artisan vendor:publish --tag=adminerneo
- Register Middleware in
bootstrap/app.php:
->withMiddleware(function (Middleware $middleware) { $middleware->alias([ 'adminerneo' => \SabbottLabs\AdminerNeo\Http\Middleware\AdminerNeoMiddleware::class, ]); })
- Add environment variables (optional):
ADMINERNEO_ENABLED=true ADMINERNEO_ROUTE_PREFIX=adminerneo
Updating
After updating the package via Composer, you should republish the assets:
# Republish only assets php artisan vendor:publish --tag=adminerneo-assets --force # Republish everything (including config) php artisan vendor:publish --tag=adminerneo --force
Note: The --force flag will overwrite existing files. Make sure to backup any customizations. Make sure to:
- Backup any customizations
- Save any custom plugins you want to keep
- Note that some plugins may be incompatible with newer versions
Plugin Management
The update process automatically removes old plugins to prevent compatibility issues. If you have custom plugins:
- Back them up before updating
- Test compatibility with the new version
- Reinstall only compatible plugins after update
Content Security Policy (CSP)
AdminerNeo requires specific CSP headers to function properly. The package sets these by default, but you may need to adjust them if:
- You have existing CSP middleware
- You see browser console warnings
- You need to customize security policies
Note: Browser console may show CSP warnings due to 'strict-dynamic' and nonce usage. These warnings are expected and don't affect functionality.
Configuration
See config/adminerneo.php for all configuration options.
sabbottlabs/laravel-adminerneo 适用场景与选型建议
sabbottlabs/laravel-adminerneo 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 62 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 02 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「database」 「mysql」 「sqlite」 「pgsql」 「management」 「mssql」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sabbottlabs/laravel-adminerneo 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sabbottlabs/laravel-adminerneo 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sabbottlabs/laravel-adminerneo 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Dibi is Database Abstraction Library for PHP
Store your language lines in the database, yaml or other sources
The tenancy/tenancy database driver for sqlite
A package for automatically encrypting and decrypting Eloquent attributes in Laravel 5.5+, based on configuration settings.
Slimmed down concise interfaces and query builder for database queries and transactions which can be layered / decorated.
A PSR-7 compatible library for making CRUD API endpoints
统计信息
- 总下载量: 62
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 27
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2025-02-06