bmack/composer-projectcontext 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

bmack/composer-projectcontext

Composer 安装命令:

composer require bmack/composer-projectcontext

包简介

Versatile lightweight package to detect a composers' root path.

README 文档

README

A composer plugin to provide an API to access the Composer's root path and thus, access to composer.json

What does it do?

The plugin adds a constant BMACK_PROJECTROOT which contains the path to the root path of the project installed via composer.

An API class is used for accessing the constant, and is actually there so it can be enriched in your own application.

Why?

In the TYPO3 project, we want to work with the composer.json file to detect certain special parameters. However, this is not possible to detect from the vendor directory during runtime of your PHP application where your project root directory is.

Installation

Just require the package to your composer project:

composer require bmack/composer-projectcontext

Usage

You have then the constant BMACK_PROJECTROOT in your project when including the autoload file

License

MIT. Free for everyone, you can even make money off of it.

Author

Benni Mack benjamin.mack@gmail.com starting in 2016.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固