承接 nickdekruijk/leap 相关项目开发

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

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

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 Attribute API: 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 in laravel/passkeysweb-auth/webauthn-libspomky-labs/cbor-php, and cbor-php doesn't support brick/math beyond ^0.17 yet — while a fresh Laravel already locks brick/math to 0.18 through laravel/framework. A plain composer require only updates the package you name, not another package's locked dependency, so it can't downgrade brick/math and silently installs an ancient Leap that predates the passkey dependency instead (no error). -W (--with-all-dependencies) lets Composer downgrade brick/math to 0.17 and install the current Leap. Remove -W once cbor-php supports newer brick/math releases.

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

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 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 725
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 10
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-24