GithubHelp home page GithubHelp logo

pengpengfei / phalapi Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 404 KB

License: GNU General Public License v2.0

PHP 22.44% HTML 0.59% C# 1.25% Go 0.50% Java 1.20% JavaScript 0.78% Objective-C 71.40% Python 0.45% Ruby 1.37% Shell 0.01%

phalapi's Introduction

##这是基于phal架的一个项目 apic

Latest Stable Version Total Downloads Latest Unstable Version License

快速安装

composer一键安装

使用composer创建项目的命令,可实现一键安装。

$ composer create-project phalapi/phalapi

温馨提示:关于composer的使用,请参考Composer 中文网 / Packagist **全量镜像

手动下载安装

或者,也可以进行手动安装。将此Git项目代码下载解压后,进行可选的composer更新,即:

$ composer update

访问接口服务

随后,可通过以下链接,访问默认接口服务。

http://localhsot/path/to/phalapi/public/

可以看到类似这样的输出:

{
    "ret": 200,
    "data": {
        "title": "Hello World!",
        "content": "PHPer您好,欢迎使用PhalApi!",
        "version": "2.0.0",
        "time": 1499477583
    },
    "msg": ""
}

温馨提示:推荐将访问根路径指向/path/to/phalapi/public。

更多请见:PhalApi 2.x 开发文档

发现问题,怎么办?

如发现问题,或者任何问题,欢迎提交Issue到这里

phalapi's People

Contributors

wr-dong avatar pengpengfei avatar wrdong avatar

Watchers

James Cloos avatar

Forkers

jackfinal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.