tom.kiernan/salsa 问题修复 & 功能扩展

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

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

tom.kiernan/salsa

Composer 安装命令:

composer require tom.kiernan/salsa

包简介

PHP Router

README 文档

README

Open source, PHP routing enging

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

PHP >= 5.4

Installing

$ composer require tom.kiernan/salsa
$Salsa = new Salsa\Salsa( array( "baseRoute" => "test/route/ ) ); // Set base route for woking in sub directories

$Salsa->addRoute( "/", "test" ); // Ouputs "test"

$Salsa->addRoute( "name/:name", function( $name ) { echo $name  } ) // example "name/tomkiernan" will output "tomkiernan"

$Salsa->run(); // actually runs the router;

Deployment

Add additional notes about how to deploy this on a live system

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We are still looking to settle on a versioning system (open to suggestions)

Authors

  • Tom Kiernan - Creator - [Tom Kiernan](composer require tom.kiernan/salsa)

License

This project is licensed under the GNU License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-09-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固