mkkn / connpass
There is no license information available for the latest version (dev-master) of this package.
dev-master
2016-04-16 02:33 UTC
Requires
- guzzlehttp/guzzle: ^6.2
- laravel/lumen: ^5.2
This package is auto-updated.
Last update: 2024-11-13 19:10:50 UTC
README
Connpass APIのプロクシアプリケーションです。
composer install して任意の場所にindex.php と .htaccessを配置することで、 APIサーバを構築できます。
$ composer install chatbox-inc/connpass:dev-master
# index.php
<?php
require __DIR__."/../vendor/autoload.php"; // point to autoload.php
\Chatbox\Connpass\Application::boot();
# .htaccess
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
API SERVER
API の仕様についてはこちら