maherelgamil/rocketphp
Composer 安装命令:
composer require maherelgamil/rocketphp
包简介
Filament-style admin panel framework for Inertia.js + React.
README 文档
README
A Server-Driven UI (SDUI) framework for Laravel + Inertia.js + React + shadcn/ui.
┌───────────┐ UI Schema (JSON) ┌───────────┐
│ Laravel │ ──────────────────────► │ React │
│ (PHP) │ "render this" │ (client) │
└───────────┘ └───────────┘
RocketPHP sends widget definitions, table schemas, form configurations, and page blocks from PHP. The React layer is stateless — it renders whatever it receives. One source of truth, no duplicated validation, no client-side API surface to design.
Requirements
- PHP 8.2+
- Laravel 11 / 12 / 13
- Inertia.js v3 (
inertiajs/inertia-laravel) - Tailwind CSS v4 in the host app
- React 19 +
@inertiajs/react - shadcn/ui components
Install
composer require maherelgamil/rocketphp
Then wire up Tailwind and Vite — see the Installation guide.
Quick look
php artisan rocket:make-panel Admin php artisan rocket:make-resource User
use App\Models\User; use MaherElGamil\Rocket\Resources\Resource; use MaherElGamil\Rocket\Tables\Columns\TextColumn; use MaherElGamil\Rocket\Tables\Table; final class UserResource extends Resource { protected static string $model = User::class; public static function table(Table $table): Table { return $table ->columns([ TextColumn::make('id')->sortable(), TextColumn::make('name')->sortable(), TextColumn::make('email')->sortable()->copyable(), ]) ->searchable(['name', 'email']); } }
Visit /admin/users — you get a sortable, searchable, paginated table,
policy-gated and ready to extend. Add a form() to unlock create/edit.
Full walkthrough: Quick Start.
Features
- Resources — auto-generated list, create, edit, view pages
- Tables — columns, filters, row + bulk actions, pagination, search
- Forms — 12 field types, layout grouping (Section / Tabs), server-side validation
- Widgets — stats, charts, tables, recent records, activity feeds
- Relation managers — manage related records inline on edit/view
- Custom pages — drop a class in
Pages/, it's auto-discovered - Authorization — policy-gated at every level (nav, page, action)
- Global search —
Cmd+Kacross resources - Notifications — bell in the header, backed by
Notification::send() - Theming — primary/accent color, font, radius, density per panel
- i18n + RTL — locale switcher, JSON translations, automatic RTL
- Panel auth — opt-in self-contained login, registration, password reset, email verification, and profile pages per panel
- Import / export — Filament-style CSV importers and exporters, queued via batched jobs
Full reference in docs/.
Docs
| Installation | Requirements and wiring |
| Quick Start | Your first panel + resource |
| Panel Configuration | Every -> method, default, and behavior |
| Resources | Model binding, pages, navigation |
| Tables | Columns, filters, actions |
| Forms | Field types, validation, layout |
| Widgets | Dashboard + resource widgets |
| Authorization | Policies and visibility |
| i18n & RTL | Locale switcher, translations, logical layout |
| Configuration | config/rocket.php reference and vendor:publish tags |
Testing
git clone https://github.com/maherelgamil/rocketphp.git
cd rocketphp
composer install
./vendor/bin/pest
Contributing
PRs welcome — see the contributing guide.
License
MIT © Maher El Gamil
maherelgamil/rocketphp 适用场景与选型建议
maherelgamil/rocketphp 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 04 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「panel」 「laravel」 「react」 「inertia」 「filament」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 maherelgamil/rocketphp 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 maherelgamil/rocketphp 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 maherelgamil/rocketphp 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
2lenet/EasyAdminPlusBundle
Analysis module for finding problematical shop data.
Yii2 panel widget
A Laravel Admin Package for The Control Group to make your life easier and steer your project in the right direction
ServerPilot: the best way to run PHP websites.
Alfabank REST API integration
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 34
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-18