Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shybovycha/visitors-api-lumen
- Owner: shybovycha
- Created: 2015-12-10T11:20:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-10T11:20:29.000Z (about 9 years ago)
- Last Synced: 2024-11-03T21:37:51.860Z (2 months ago)
- Language: PHP
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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