psx/sample 问题修复 & 功能扩展

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

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

psx/sample

Composer 安装命令:

composer require psx/sample

包简介

PSX sample project

README 文档

README

About

This is a sample application which can bootstrap a project based on the PSX framework. You can install it through composer

composer create-project psx/sample .

More information about PSX at https://phpsx.org

Configuration

In the configuration.php file change the key psx_url to the absolute url to the public/ folder. If you have setup a vhost this is simply the domain.

Getting started

In the following a few explanations about the important parts of the API.

  • src/Api/Population/Collection.php
    This is the class which represents the /population endpoint

  • src/Service/Population.php
    Service class which contains the business logic of the API.

  • src/Dependency/Container.php
    DI container which provides the population service

  • tests/Api/Population/CollectionTest.php Contains the PHPUnit test case for the /population endpoint. If you have phpunit installed you can run the tests in the root of the project with the phpunit command.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-09-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固