sbyaute/frontbundle-maker
最新稳定版本:1.0.5
Composer 安装命令:
composer require sbyaute/frontbundle-maker
包简介
Ce bundle offre une interface permettant de créer des interfaces CRUD basées sur front-bundle.
关键字:
README 文档
README
This repository contains FrontBundleMaker bundle which helps you create controller skeletons and templates based on FrontBundle bundle.
Minimum requirements
Installation with Composer
Installation using composer :
composer require sbyaute/FrontBundle-Maker
Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:
<?php return [ // ... Sbyaute\FrontBundleMakerBundle\FrontBundleMakerBundle::class => ['all' => true], ];
Usage
This bundle provides several commands under the make: namespace. List them all executing this command:
php bin/console list make:frontbundle make:frontbundle:controller Creates a new controller class make:frontbundle:crud Creates FrontBundle CRUD for Doctrine entity class make:frontbundle:crudmodal Creates FrontBundle CRUD (modal mode) for Doctrine entity class
Configuration
This bundle doesn't require any configuration. But, you can configure the base layout and several parameters :
php bin/console config:dump twig_bootstrap_maker
twig_bootstrap_maker:
base_layout: '@FrontBundle/layout.html.twig'
skeleton_dir: .../src/DependencyInjection/../Resources/skeleton/
Translation
The translation messages are located in messages and entity class domain. So yo can update it by using :
php bin/console translation:update fr --force --output-format=yaml --domain=messages php bin/console translation:update fr --force --output-format=yaml --domain=[entity class]
License and contributors
Published under the MIT, read the LICENSE file for more information.
统计信息
- 总下载量: 777
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-03