定制 arnaugm/band-accounting-bundle 二次开发

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

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

arnaugm/band-accounting-bundle

Composer 安装命令:

composer require arnaugm/band-accounting-bundle

包简介

Accounting system for music bands

README 文档

README

Accounting system for music bands. Symfony2 bundle.

Installation

Step 1: Download the Bundle

$ composer require arnaugm/band-accounting-bundle

Step 2: Enable needed bundles

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new ArnauGM\BandAccountingBundle\ArnauGMBandAccountingBundle(),
            new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
        );
    }

    // ...
}

Step 3: Configure the bundles

# app/config/config.yml
stof_doctrine_extensions:
    default_locale: es_ES
    orm:
        default:
            timestampable: true
    
# ...

Step 4: Load the Routes of the Bundle

# app/config/routing.yml
band_accounting:
    resource: '@ArnauGMBandAccountingBundle/Resources/config/routing.yml'
    prefix:   /admin/accounting
    
# ...

Step 5: Prepare the Web Assets of the Bundle

app/console assets:install --symlink

Development

  • Install the bundle in a dummy Symfony 2.7 application
  • Change the band-accounting dependency for a symlink to this project's root folder
mv <dummy_application_folder>/vendor/arnaugm/band-accounting-bundle <dummy_application_folder>/vendor/arnaugm/band-accounting-bundle-bkp
ln -s <root_folder> <dummy_application_folder>/vendor/arnaugm/band-accounting-bundle
  • Start PHP server from the dummy application
cd <dummy_application_folder>
app/console server:start
  • Build client
cd <root_folder>/client
npm install
grunt
  • Enable client watcher
grunt watch

Test

Backend

bin/phpunit

Frontend

npm test

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: Unknown
  • 更新时间: 2017-08-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固