ip-detect/README.md

26 lines
981 B
Markdown
Raw Permalink Normal View History

2017-09-05 01:32:40 +00:00
# Minimalistic IP address detector app
2018-11-02 16:33:12 +00:00
[![Codeship Status for skobkin/ip-detect](https://app.codeship.com/projects/b2375af0-c0e5-0136-9e74-26b840c766cc/status?branch=master)](https://app.codeship.com/projects/313611)
2018-11-02 16:41:16 +00:00
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/b/skobkin/ip-detect/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/b/skobkin/ip-detect/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/b/skobkin/ip-detect/badges/coverage.png?b=master)](https://scrutinizer-ci.com/b/skobkin/ip-detect/?branch=master)
2018-11-02 16:33:12 +00:00
[Try it](https://ip.skobk.in/) ([JSON](https://ip.skobk.in/json), [Plaintext](https://ip.skobk.in/plain))
2017-09-05 01:32:40 +00:00
## Installation
```bash
# For usage (from Packagist)
composer create-project skobkin/ip-detect
# For development (from Git)
git clone git@bitbucket.org:skobkin/ip-detect.git
cd ip-detect && composer install
2017-09-05 01:32:40 +00:00
```
2017-09-05 01:32:40 +00:00
## Running
```bash
# From the project root directory
2017-09-05 01:32:40 +00:00
php -S localhost:8000 -t public public/index.php
```