承接 bocharsky-bw/skeleton-bundle 相关项目开发

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

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

bocharsky-bw/skeleton-bundle

最新稳定版本:v0.0.1

Composer 安装命令:

composer require bocharsky-bw/skeleton-bundle

包简介

The HTML markup skeleton of base templates for Symfony Framework

README 文档

README

The HTML markup skeleton of base templates for Symfony Framework

SensioLabsInsight

This bundle no more maintained

The development has moved to a new repository.

Install

Install bundle with Composer dependency manager first by running the command:

$ composer require "bocharsky-bw/skeleton-bundle:dev-master"

Composer will install the bundle to your project's vendor directory.

Include

Including the bundle to your Symfony project is as easy as to do a few simple steps.

  1. Enable the bundle in application kernel for prod environment:
<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // other bundles...
        new BW\SkeletonBundle\BWSkeletonBundle(),
    );
}
  1. Add few parameters used in the skeleton templates (You should to add this parameters in both parameters.yml and parameters.yml.dist files in app/config folder):
# app/config/parameters.yml
# app/config/parameters.yml.dist
parameters:
    locale: ru
    title_prefix: ~
    title_suffix: ~
    description_prefix: ~
    description_suffix: ~
  1. Import config resource to passed parameters to the skeleton templates as global twig variables:
# app/config/config.yml
imports:
    - { resource: "@BWSkeletonBundle/Resources/config/config.yml" }
  1. Register the bundle's routes for dev environment (optional, if you want to see examples):
# app/config/routing_dev.yml
_bw_skeleton_bundle:
    resource: "@BWSkeletonBundle/Resources/config/routing.yml"
    prefix:   /_bw

Congratulations!

You're ready to rock your templates to extends skeleton templates!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固