定制 pedrofaria/hope 二次开发

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

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

pedrofaria/hope

Composer 安装命令:

composer require pedrofaria/hope

包简介

Hope microframework

README 文档

README

Hope is a very lightweight PHP microframework.

Check a example of Hope application

Installation

$ composer require pedrofaria/hope

Usage

Very simple usage of Hope microframework.

$app = new Hope\Application;

$app->setRoute(function(Hope\Router\RouteCollector $route) {
    $route->add('GET', '/ping', function() {
        return ['data' => 'pong'];
    });
});

$app->bootstrap();
$app->run();

And that's it!

Documentation

Check the Wiki with all Hope documentation.

Running Tests

Codeception was chosen on this project to support all tests. To run, use the command below:

$ vendor/bin/codecept run unit

If you want run with code coverage, use the follow command and the HTML report will be available at tests/_output/coverage.

$ vendor/bin/codecept run unit --coverage --coverage-html

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2017-04-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固