承接 studioemma/bundle-installation-bundle 相关项目开发

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

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

studioemma/bundle-installation-bundle

最新稳定版本:2.0.0

Composer 安装命令:

composer require studioemma/bundle-installation-bundle

包简介

This Bundle adds helper functions to allow easy installation of Pimcore Bundles.

README 文档

README

This Bundle adds helper methods to allow easy installation of Pimcore Bundles.

Included helper methods

  • Installation of Class Definitions
  • Installation of Field Collections
  • Installation of Object Bricks
  • Create (recursive) Data Object Folder and Website setting
  • Create (recursive) Asset Folder and Website setting
  • Create (recursive) Document Folder and Website setting
  • Create Website setting

Installation

stable:

composer require studioemma/bundle-installation-bundle

unstable:

composer require studioemma/bundle-installation-bundle:dev-master

Usage

Add the trait to your Installer class of the bundle

use BundleInstallationTrait;

Use the helper methods (ex.)

$this->installClassDefinition('Blog');
$this->installFieldCollection('BlogComment');
$this->installObjectBrick('BlogPostDetails');

$this->createObjectFolderAndWebsiteSetting('/blog','object_folder_blogs');
$this->createDocumentFolderAndWebsiteSetting('/blog','document_folder_posts');
$this->createAssetFolderAndWebsiteSetting('/blog', 'asset_folder_blog');

To be able to install Class Definitions, FieldCollections and ObjectBricks, an export of the item needs to be added to your bundles "Resources/data" folder. It needs to be the same name as provided in the install* method.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 16
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固