承接 brightly/mango-core 相关项目开发

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

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

brightly/mango-core

最新稳定版本:v1.1.0

Composer 安装命令:

composer create-project brightly/mango-core

包简介

The Mango CMS's core functionality to be able to work alone without admin UI.

README 文档

README

Mango Nova ("Next Summer" edition)

Intruduction

Install

As you started your project with brightly/mango-starter Mango Core is added to your composer.json, and prepared to use.

Migrations

To migrate Mango's files, first you have to publish migration files.

artisan vendor:publish --tag=mango-core-migrations

...and then migrate:

artisan migrate

Usage

Basic build blocks

Mango Core provides Menu, structure of Links and Content binded to that.

Menu

Menus are "placeholders" for Link trees in templates. Menus can be shown in the templates like this:

@componentfirst($menu->templates('main'), ['menu' => $menu->menu('main')])
...
@componentfirst

Links

Links provides URLs for pages. So page itself is not exists in Mango, a page provided by a Link and a Content object. The link describes the URI and handles publishing information.

Content

Provide content of a given page.

Frontend

Homepage (a.k.a Main Page, or Welcome Page)

You can set up a "page" - a Link and a Content - for that. The link's slug will be de identifier of the current page. After that, you can use the identifier of the link in the config file.

array(
    ...
    'routes'    => [
        'index' => 'your_link_slug'
    ],
    ...
);

Contribution

After updating this project, you should rebuild private packages index! Please check this!

License

All of the Brightly projects licensed under propietary license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2024-09-29