Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piotrplenik/phptask2016
PHP7 command app
https://github.com/piotrplenik/phptask2016
Last synced: 10 days ago
JSON representation
PHP7 command app
- Host: GitHub
- URL: https://github.com/piotrplenik/phptask2016
- Owner: piotrplenik
- License: mit
- Created: 2016-05-16T21:26:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-22T13:25:19.000Z (over 8 years ago)
- Last Synced: 2024-11-08T14:49:36.403Z (2 months ago)
- Language: PHP
- Size: 38.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mdown
- License: LICENSE
Awesome Lists containing this project
README
# PHPTask 2016 - Example PHP 7 Showcase
This is sample command line application, that benchmark loading time of
the website in comparison to the other websites (check how fast is
the website's loading time in comparison to other competitors).Command that will accept two parameters: "website url" and "other websites urls".
Results are visible in terminal output and logged into log/log.txt file.
Report include the date of the test, execution time for the site being tested and
competitors and a comparison between the results.This library implements the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
coding standard.## Installation
Load dependence
```bash
$ composer install
```Configure
```bash
$ cp config/app.ini.sample config/app.ini
$ nano config/app.ini
```## Basic Usage
```bash
./bin/console compare:websites "http://facebook.com" "http://twitter.com" "http://www.linkedin.com/"
```## About
### Requirements
- This app is working with PHP 7 or above.
### Author
Piotr Plenik -
### License
This app is licensed under the MIT License - see the `LICENSE` file for details
### Acknowledgements
This application was created with respect to XSolve verification test (xsolve.pl).