Go to file
2019-06-26 12:20:17 +02:00
src/functions init 2019-06-26 09:36:50 +02:00
web fix htaccess 2019-06-26 09:56:15 +02:00
.env.dist init 2019-06-26 09:36:50 +02:00
.gitignore init 2019-06-26 09:36:50 +02:00
composer.json init 2019-06-26 09:36:50 +02:00
README.md add documentation 2019-06-26 12:20:17 +02:00

API Page

Retrieves information from a webpage using j0k3r/graby and fusonic/opengraph.

Installation

Requirements:

$ git clone https://gitnet.fr/deblan/apipage.git
$ cd apipage
$ composer install
$ cp .env.dist .env

Usage

If you use Apache2 or Nginx, serve web/ as document root and web/index.php as router. To prevent security issue, fill your domain name into .env.

In a development environment, you can run the built in PHP web server:

$ php -S 12.0.0.1:8080 -t web web/index.php