Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mysiar/clean-php-data-reader
https://github.com/mysiar/clean-php-data-reader
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/mysiar/clean-php-data-reader
- Owner: mysiar
- License: gpl-3.0
- Created: 2021-12-29T13:56:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-31T16:53:23.000Z (almost 3 years ago)
- Last Synced: 2023-07-02T09:00:34.854Z (over 1 year ago)
- Language: PHP
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clean PHP Data Reader
Clean PHP (no framework, except testing) MVC Application :blush:
Requires Docker & docker-compose to run
## Description
* Data reader for CVS, XML & JSON formats.
* All commands are run through `make` command. For full reference check `Makefile`
* [Easy Coding Standard](https://github.com/symplify/easy-coding-standard) is used, configuration file `ecs.php`.
* Latest version of PHPUnit is used for testing## Step by step
* Application configuration is in `public/config.yaml` file
* in `public/config.yaml` XML & CSV are enabled, JSON disabled, simply change false to true to enable JSON format
* run `make start` - this builds docker containers and starts application
* run `make test-full` - to run coding standard check & PHPUnit tests
* open [Data Reader Application in Web Browser](http://nginx.reader/)
* application url is `http://nginx.reader/` if **dockerhost** is running properly
* play with Application using data stored in `tests/data` folder
* run `make clean` - to stop Application, remove Docker containers, all installed files by composer and test cacheOther commands in `Makefile` were used during development