Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexp11223/php-project-lvl3
Extracts the specified web page info. Lumen, Guzzle, job queue, TDD, Heroku. Project 3 of https://hexlet.io courses.
https://github.com/alexp11223/php-project-lvl3
guzzle guzzler heroku hexlet hexlet-projects job-queue lumen php tdd
Last synced: 6 days ago
JSON representation
Extracts the specified web page info. Lumen, Guzzle, job queue, TDD, Heroku. Project 3 of https://hexlet.io courses.
- Host: GitHub
- URL: https://github.com/alexp11223/php-project-lvl3
- Owner: AlexP11223
- Created: 2019-10-02T14:47:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T07:52:40.000Z (about 2 years ago)
- Last Synced: 2024-12-13T20:39:30.095Z (2 months ago)
- Topics: guzzle, guzzler, heroku, hexlet, hexlet-projects, job-queue, lumen, php, tdd
- Language: PHP
- Homepage: http://alexp11223-web-page-analyzer.herokuapp.com/
- Size: 217 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/AlexP11223/php-project-lvl3.svg?branch=master)](https://travis-ci.org/AlexP11223/php-project-lvl3)
[![Maintainability](https://api.codeclimate.com/v1/badges/fd2a401ad73e174686e2/maintainability)](https://codeclimate.com/github/AlexP11223/php-project-lvl3/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/fd2a401ad73e174686e2/test_coverage)](https://codeclimate.com/github/AlexP11223/php-project-lvl3/test_coverage)# Web Page Analyzer
http://alexp11223-web-page-analyzer.herokuapp.com
A simple website created using Lumen framework that extracts some information about the specified web page. The requests are processed using a job queue asynchronously.
![](https://i.imgur.com/V0wBwyR.gif)
## Development setup
1. Run `make setup` to generate `.env` file, create SQLite database, apply migrations.
2. Run `make run` to launch web server (http://localhost:8000).
3. Run `make queue-daemon` or `make empty-queue` to process the job queue.
4. Run `make lint test` to run linter and tests.See [Makefile](/Makefile) for other useful commands. Check out https://makefile.site if you are interested in this approach.
## Heroku deployment
1. Add postgres and php buildpack.
2. Add `APP_KEY` (`php artisan key:generate --show`).
3. Enable the worker for queue processing.