nickdekruijk/leap
Composer 安装命令:
composer require nickdekruijk/leap
包简介
Laravel Easy Admin Panel
README 文档
README
Leap is a Laravel package that gives you a full admin panel with almost no boilerplate. Admin screens are defined in PHP with a fluent API — no per-screen Blade or JavaScript — and it ships an optional, semantic-HTML frontend template (pages, navigation, sections, search, SEO) for the public site.
Built with Livewire; styling is compiled on request (no npm/Vite build step).
Features
- Resource modules — declare a model's CRUD screen with a fluent
AttributeAPI: list columns, editor form, validation, search, sort, filter, CSV import/export. - Media, sections and rich content — file/image uploads, repeatable JSON section blocks, TinyMCE and Ace editors.
- Roles & permissions, two factor authentication, passkeys and password reset out of the box.
- Multilingual editing — edit and store content per locale, fully opt-in, with
locale-aware routing,
hreflang/sitemap and language switching for the frontend. - Frontend template — an accessible, SEO-ready public website scaffolded with one command.
Quick start
composer require nickdekruijk/leap -W php artisan migrate
Why
-W? Leap pulls inlaravel/passkeys→web-auth/webauthn-lib→spomky-labs/cbor-php, andcbor-phpdoesn't supportbrick/mathbeyond^0.17yet — while a fresh Laravel already locksbrick/mathto0.18throughlaravel/framework. A plaincomposer requireonly updates the package you name, not another package's locked dependency, so it can't downgradebrick/mathand silently installs an ancient Leap that predates the passkey dependency instead (no error).-W(--with-all-dependencies) lets Composer downgradebrick/mathto0.17and install the current Leap. Remove-Woncecbor-phpsupports newerbrick/mathreleases.
Add the required traits to your user model (see
docs/installation.md), then visit /admin.
Your first module
Write it by hand, or generate it from an existing model with
php artisan leap:module Page (see modules-and-resources.md):
namespace App\Leap; use App\Models\Page; use NickDeKruijk\Leap\Classes\Attribute; use NickDeKruijk\Leap\Resource; class PageResource extends Resource { public $model = Page::class; public function attributes(): array { return [ Attribute::make('title')->index(1)->searchable()->required(), Attribute::make('slug')->unique()->slugFrom('title'), Attribute::make('active')->switch()->default(true), ]; } }
Drop that in app/Leap/ and it appears in the panel — list, editor, validation and
permissions included.
The frontend template (optional)
php artisan leap:template
Scaffolds a public website: pages, navigation, content sections, live search, an admin-editable footer, per-page SEO and a sitemap. See docs/template.md.
Documentation
- Installation
- Modules and resources
- Attributes reference
- Sections
- Multilingual content
- AI features
- Frontend template
- Permissions & authentication
- Configuration
- Caching
- Upgrading to 1.0
- Changelog
Requirements
PHP 8.3–8.4 · Laravel 12/13 · Livewire 3/4.
License
MIT. See LICENSE.md.
nickdekruijk/leap 适用场景与选型建议
nickdekruijk/leap 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 725 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 07 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「leap」 「laravel easy admin panel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 nickdekruijk/leap 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nickdekruijk/leap 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 nickdekruijk/leap 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Secure payment processing via PayU MEA for Magento 2.3
Easy, flexible and lightweight news extension. No extra tables needed, using pages for news articles.
使用简单实用的语义化接口快速读写Excel文件
An easy way for using json encoded strings in php
Laravel Repositories is a package for Laravel 5 or higher which is used to abstract the database layer. This makes applications much easier to maintain.
Alfabank REST API integration
统计信息
- 总下载量: 725
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-24