定制 marshmallow/pages 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

marshmallow/pages

最新稳定版本:v5.0.7

Composer 安装命令:

composer require marshmallow/pages

包简介

Deze package geeft de mogelijkheid om gemakkelijk pagina's te beheren in Laravel. Dit is eigelijk een verzameling van handinge composer packages van derde en samengevoegd om snel te kunnen hergebruiken.

关键字:

README 文档

README

alt text

Laravel Nova Pages

Version Issues Licence PHP Syntax Checker

This page provides you with the ability to easily create and manage pages and its content in Laraval Nova.

Installation

Composer

You can install the package via composer:

composer require marshmallow/pages

Install for Nova 4

If you are using nova 4, you can install the package using the command below.

composer require marshmallow/pages "^4.0"

Run the artisan commands

Publish the configs from the flexible package, migrate to create the pages table and create your Laravel Nova resource to manage your pages.

php artisan pages:install

Usage

You can add {!! Page::render($page) !!} to your blade file to render the layouts that are connected to the page. You can also loop through them yourself if that is helpfull like;

@foreach ($layouts as $layout)
    {{ $layout->render() }}
@endforeach

Add a new layout

You can generate new layouts via the command provided by the marshmallow/flexible package that is included in this package. Run the command below to generate a new layout.

php artisan marshmallow:layout

Next you will need to add the newly generated layout to your flexible config.

/**
 * config/flexible.php
 */
return [
    /**
     * Your custom layouts. Please check the readme.md file for more
     * information about these custom layouts.
     */
    'layouts' => [
        'sluggable-name-of-your-layout' => \App\Flexible\Layouts\LayoutClassName::class
    ],
];

Changelog

Please see CHANGELOG for more information what has changed recently.

Security

If you discover any security related issues, please email stef@marshmallow.dev instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固