承接 litstack/bricks 相关项目开发

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

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

litstack/bricks

Composer 安装命令:

composer require litstack/bricks

包简介

README 文档

README

Pre-built Repeatables and Templates for common Webcontents.

Install

composer require litstack/bricks

php artisan lit-bricks:install

Usage

Add the desired Repeatables to your blocks:

use Litstack\Bricks\Repeatables\TextRepeatable;

$page->card(function ($form) {
    $form->block('content')
        ->title('My Content')
        ->repeatables(function ($repeatables) {
            $repeatables->add(TextRepeatable::class);
        });
});

Return a view, pass it the formdata:

return view('welcome')->with([
    'form' => Form::load('pages', 'home')
]);

Add the block to your template:

@block($form->content)

Customize Templates

You can publish the templates to resources/views/vendor/bricks/ and edit them to your needs:

php artisan vendor:publish --provider="Litstack\Bricks\BricksServiceProvider --tag=views"

Components

Repeatables

Name Fields  Usage
TextRepeatable::class WYSIWYG Simple Text-Repeatable
ImageRepeatable::class image Single Image-Repeatable using <x-lit-image /> Component
ImagesRepeatable::class image Multiple Image-Repeatable using <x-lit-image /> Component
ImageSlideRepeatable::class image, input, textarea Image-Repeatable using <x-lit-image /> Component, Input and Textarea

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固