承接 netbrothers-gmbh/nbcsb-bundle 相关项目开发

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

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

netbrothers-gmbh/nbcsb-bundle

最新稳定版本:v3.0.0

Composer 安装命令:

composer require netbrothers-gmbh/nbcsb-bundle

包简介

Creating skeleton structure for symfony bundle with one single command. Creates directory structure and necessary files, activates your bundle. See: https://netbrothers.de/easy-create-reusable-symfony-bundle

README 文档

README

This is a command line tool for creating skeleton structure for symfony bundle:

  • creates directory structure and necessary files under src/
  • activates your new bundle in symfony's bundle.php

The namespace of your bundle will be App\[YourBundleName].

structure

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

composer require netbrothers-gmbh/nbcsb-bundle

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require netbrothers-gmbh/nbcsb-bundle

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    NetBrothers\NbCsbBundle\NetBrothersNbCsbBundle::class => ['all' => true],
];

Usage

Open a command console, enter your project directory and execute the following command:

php bin/console netbrothers:make-bundle [YourBundleName]

Be aware to name your bundle with "Bundle" - like symfony demand.

# this is wrong !!!
php bin/console netbrothers:make-bundle Apple

# this is correct
php bin/console netbrothers:make-bundle AppleBundle

Configuration

If you prefer to change templates:

  • Find under installation/templates basic templates. Copy them to any place you like.
  • Copy installation/config/packages/netbrothers_nbcsb.yaml to symfony's config path
  • Insert into netbrothers_nbcsb.yaml your template path.
  • Clear symfony's cache.

Author

Stefan Wessel, NetBrothers GmbH

nb.logo

Licence

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固