This is a simple PHP API MVC template.
Note: The following mermaid diagram may not render in all markdown viewers.
graph TD;
A[Controller] -->|calls| B[Service];
B -->|interacts with| C[Model];
To get started with this template, follow these steps:
- Clone the repository:
git clone https://github.com/hheinsoee/mvc_php.git
- Navigate to the project directory:
cd mvc_php
- Install dependencies:
composer install
- Configure your environment settings in the
.env
file.
To start the development server, run:
php -S localhost:8000 -t public
Feel free to submit issues or pull requests.
This project is licensed under the MIT License.