Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shybovycha/visitors-api-lumen

Visitor tracking API with Lumen
https://github.com/shybovycha/visitors-api-lumen

Last synced: 23 days ago
JSON representation

Visitor tracking API with Lumen

Awesome Lists containing this project

README

        

# Visitor tracking API with Lumen

## Installation

First of all, install `composer`, `PHP 5.6` and `MySQL`.

Then, run these:

php composer.phar install
php artisan migrate

## Running

Simply use Artisan:

php artisan serve

## API

`GET /track` - tracks visitor, adding one to the database or updating his visits counter

`GET /visitors` - returns a list of tracked visitors