devfactory/version
最新稳定版本:2.0.2
Composer 安装命令:
composer require devfactory/version
包简介
Display a version number
README 文档
README
update composer.json file:
{
"require": {
"laravel/framework": "4.1.*",
"devfactory/version": "dev-master"
}
}
and run composer update from terminal to download files.
update app.php file in app/config directory:
'providers' => array(
'Devfactory\Version\VersionServiceProvider',
),
alias => array(
'Version' => 'Devfactory\Version\VersionFacadeProvider',
),
Publish the configuration
php artisan config:publish devfactory/version
How to use
in the config put the name of the version file: for example : ch.devfactory.project.webapp.version
in your HTML form add following code:
{{ Version::get() }}
统计信息
- 总下载量: 7.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-09-18