akuma/bootswatch-bundle
最新稳定版本:1.0.6
Composer 安装命令:
composer require akuma/bootswatch-bundle
包简介
Akuma Bootswatch Bundle
关键字:
README 文档
README
AkumaBootswatchBundle helps you integrate Bootswatch Themes in your Symfony2 project. AkumaBootswatchBundle also supports the official Sass port of Bootstrap and Font Awesome.
Developed by Nikita Makarov.
Installation
First you need to add akuma/bootswatch-bundle to composer.json:
{
"require": {
"akuma/bootswatch-bundle": "dev-master"
}
}
Please note that dev-master points to the latest release.
You also have to add AkumaBootswatchBundle to your AppKernel.php:
// app/AppKernel.php //... class AppKernel extends Kernel { //... public function registerBundles() { $bundles = array( ... new Akuma\Bundle\BootswatchBundle\AkumaBootswatchBundle() ); //... return $bundles; } //... }
Configuration
You also may customize some config options:
akuma_bootswatch: less_filter: ~ # Default "none", and may be one of : "less", "lessphp", "sass", "scssphp" or "none" auto_configure: assetic: true # default true twig: true # coming soon knp_menu: true # coming soon knp_paginator: true # coming soon bootswatch: path: ~ # default %kernel.root_dir%/../vendor/thomaspark/bootswatch theme: ~ # default "cosmo" fonts_dir: ~ # default %kernel.root_dir%/../web/fonts font_awesome: ~ #default true output_dir: ~ # default empty to output all into "%kernel.root_dir%/../web"
To install fonts you need to execute the next command:
php app/console akuma:bootswatch:install
Compatibility
This bundle has two main dependencies, Symfony2 and Bootswatch.
Changelog
Version 1.0.0
- First release
License
- The bundle is licensed under the MIT License
- The CSS and Javascript files from Twitter Bootstrap are licensed under the Apache License 2.0 for all versions before 3.1
- The CSS and Javascript files from Twitter Bootstrap are licensed under the MIT License for 3.1 and after
统计信息
- 总下载量: 573
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-20