mkkn / connpass
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/mkkn/connpass
Requires
- guzzlehttp/guzzle: ^6.2
- laravel/lumen: ^5.2
This package is auto-updated.
Last update: 2025-09-13 20:53:20 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 の仕様についてはこちら