承接 sageit/phalcon-rest 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

sageit/phalcon-rest

最新稳定版本:v1.03

Composer 安装命令:

composer require sageit/phalcon-rest

包简介

Sage IT Component for Phalcon - REST JSON Parser services

README 文档

README

Logo

Phalcon REST

Latest Stable Version Total Downloads License PHP Version Require Phalcon Version

Library for enhancing Micro applications with REST functionality, Bearer Token Parsing, and JSON Interpretation. Includes Dynamic Validation Processing to make JWT extensible. This is not a fully baked Micro Application, but rather a set of tools to enable additional out-of-the-box functionality for your own micro applications.

Explore the docs »

Report Bug · Request Feature

Table of Contents


About The Project

Built With


Installation

Git:

git clone https://github.com/SageITSolutions/phalcon-rest.git

Composer:

composer require sageit/phalcon-rest

Implementing a Service

This project consists of prebuild services that simply need to be added to DI for services. JWT assumes the presense of a config object in the DI with a JWT section. This can also be passed as a named array in the constructor, but the provided JWT service does not utilize this.

Config Register

One option is to have your application iterate services listed in the config object and register them

services:
  tools: Phalcon\Di\Service\Common\Tools
  request: Phalcon\Di\Service\Request\Json
  response: Phalcon\Di\Service\Response\Json
  jwt: Phalcon\Di\Service\Encryption\Security\JWT\Jwt
foreach ($config->services as $service => $class) {
  $di->register(new $class);
}

Register Manually

$di->register(new \Phalcon\Di\Service\Common\Tools());
$di->register(new \Phalcon\Di\Service\Request\Json());
$di->register(new \Phalcon\Di\Service\Response\Json());
$di->register(new \Phalcon\Di\Service\Encryption\Security\JWT\Jwt());

Sections

Roadmap

See the open issues for a list of proposed features (and known issues).


Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.


Contact

Sage IT Solutions - Email

Project Link: https://github.com/SageITSolutions/phalcon-rest

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固