Important
The documentation for this project is still under preparation and is not yet complete.
There is no documentation reference, it is currently under development, the owner is busy with his studies, and it will not be put into development until the end of June 2024.
Warning
Redis has been added and stability is being tested.
Welcome to the Lightweight PHP EPG Service! 🎉 This project is a simple yet efficient Electronic Program Guide (EPG) service built with PHP. It is particularly suitable for EPG implementation in low-configuration servers, without Docker, and in scenarios requiring high concurrency.
- Lightweight: Minimal resource usage, optimized for performance.
- Easy Setup: Just a few steps to get started.
- Flexible: Easily customizable to suit your needs.
- No Dependencies: Pure PHP with no external dependencies.
- Clone the repository:
git clone https://github.com/mxdabc/epgphp.git
- Navigate to the project directory:
cd epgphp
- Run the service(Temporarily):
php -S localhost:8000
- Access the service:
Open your browser and go to
http://localhost:8000/manage.php
.
- Add your EPG data: Customize the
manage.php
file with your TV schedule data. - Query the service: Send HTTP GET requests to fetch EPG information.
- Customize: Modify the code as needed to fit your specific requirements.
Here’s a simple example of how to query the service:
http://localhost:8000/index.php?channel=BBC&date=2024-08-14
Contributions are welcome! Feel free to submit issues, feature requests, or pull requests.
Original work: https://github.com/TakcC/PHP-EPG-Docker-Server
This repository is my own modified version, which is more suitable for use in scenarios without Docker and requiring high concurrency.
This project is licensed under the GPL-2.0 License. See the LICENSE file for more details.