This is a simple project to demonstrate Hyperf capabilities to create a payments API, with email/sms notifications and external transaction validation.
Once you clone the repository, you can run the server immediately using the command below.
This application is based on docker, so you can run it using the following command:
docker-compose upThis will start all the necessary tools, and start the hyperf container running the cli-server on port 9501.
If you need to access the container, you can use the following command:
docker-compose exec php bashphp here means the name of the service in the docker-compose.yml file.
By accessing the container you can then run the tests by using the following command:
composer testYou can then reach the api at http://localhost:9501/
You can access the swagger docs by clicking here