Skip to content

The server side of official SwiftGG Application, written in PHP.

Notifications You must be signed in to change notification settings

SwiftGGTeam/SwiftGGAppServer

Repository files navigation

SwiftGGAppServer

The server side of official SwiftGG Application, written in PHP.

Logo

Introduction

The PHP version requires PHP 5.3 or greater, Because we use Flightphp framework( An extensible micro-framework for PHP ).

This project support running in all platforms.

Installation

Download the files.

If you're using Composer, you can run the following command:

composer require mikecao/flight

OR you can download them directly and extract them to your web directory.

Configure your webserver.

For Apache, edit your .htaccess file with the following:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
For Nginx, add the following to your server declaration:
server {
    location / {
        try_files $uri $uri/ /index.php;
    }
}

Feature

User

  • Login
  • Register
  • Info
  • login and register use mobile and captcha, and return the token with expire time

Article

  • CategoryList
  • ArticleList
  • ArticleDetails

Interface

Please refer to the interface documentation.

License

SwiftGGAppServer is released under the MIT license.

About

The server side of official SwiftGG Application, written in PHP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages