承接 devfactory/version 相关项目开发

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

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

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-09-18