sparkphp/project 问题修复 & 功能扩展

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

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

sparkphp/project

最新稳定版本:0.2.0

Composer 安装命令:

composer create-project sparkphp/project

包简介

A sample project for building an application using Spark.

README 文档

README

Spark is a PSR-7 compliant Action-Domain-Responder (ADR) system. While it may look like a micro-framework (and it is), it is more like a wrapper around the real logic of your application domain. It's also PSR-1, PSR-2, and PSR-4 compliant.

Check out the source project here.

Installing Spark

You will need Composer to install Spark.

Pick a project name, and use Composer to create it with Spark. Let's create one called spark-project:

composer create-project -s dev sparkphp/project spark-project

Confirm the installation by changing into the project directory and starting a development web server:

cd spark-project
bin/start-server

You can then browse to http://localhost:8000/hello and see JSON output:

{"hello": "world"}

You can also browse to http://localhost:8000/hello/nancy and see modified JSON output:

{"hello":"nancy"}

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 8
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-25