定制 mauriciovander/testpackage 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mauriciovander/testpackage

Composer 安装命令:

composer require mauriciovander/testpackage

包简介

PHP packaging test

README 文档

README

The intention of this repository is to test composer package management and set up a basic library structure for new projects

Instalation

From composer packagist

composer require mauriciovander/testpackage dev-master

From Git

  1. clone this repository with

git clone https://github.com/mauriciovander/testpackage.git

  1. cd into testpackage
  2. install dependencies

composer install

  1. run index.php as a server or create a virtualhost in your Apache/Nginx server pointing the DocumentRoot to the public folder

php -S 127.0.0.1:8888 public/index.php

  1. open http://localhost on a browser
  2. check console logs to confirm monolog is working properly
  3. run tests to confirm phpunit is working properly

phpunit tests

Start writing your own code

If new namespaces are to be used (besides TestComponents), be sure to link Namespace to path in composer.json PSR-4 section for proper autoloading

run composer dump-autoload to regenerate PSR4 autoloader

enjoy...

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-22