You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Vieille a7053dfef7
1 year ago
src refactoring 1 year ago
web refactoring 1 year ago
.env.dist init 1 year ago
.gitignore init 1 year ago add documentation 1 year ago
composer.json refactoring 1 year ago

API Page

Retrieves information as JSON from a web page using j0k3r/graby and fusonic/opengraph.



$ git clone
$ cd apipage
$ composer install
$ cp .env.dist .env


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 -t web web/index.php

Browse{parser}?url={url} where:

  • parser is graby or opengraph
  • url is the page that you want to parse



Result is


Result is