https://github.com/xcvzmoon/vanilla-php-api
A repository for building a fast and secured API using nothing but vanilla PHP
https://github.com/xcvzmoon/vanilla-php-api
php restful-api sqlite
Last synced: about 2 months ago
JSON representation
A repository for building a fast and secured API using nothing but vanilla PHP
- Host: GitHub
- URL: https://github.com/xcvzmoon/vanilla-php-api
- Owner: xcvzmoon
- Created: 2025-05-21T04:42:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-22T00:17:43.000Z (about 1 year ago)
- Last Synced: 2025-06-19T03:41:03.990Z (about 1 year ago)
- Topics: php, restful-api, sqlite
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vanilla PHP API (WIP)
This repository is a work in progress for building a **fast and secured API using nothing but vanilla PHP**. The primary goal of this project is to practice and enhance my core PHP skills by constructing an API from the ground up, without relying on frameworks or external libraries.
---
## About the Project
This API is being developed to demonstrate the capabilities of vanilla PHP in building a robust backend. It aims to showcase how to structure an application efficiently using fundamental PHP concepts.
---
## Current Components
- **Models**: Define the structure and relationships of data.
- **Services**: Handle the business logic and interactions with data.
- **Database**: Utilizes **PDO with SQLite** for data persistence.
- **Controllers**: Manage incoming requests and orchestrate responses.
---
## Goals
- **Speed**: Optimize the API for high performance and quick response times.
- **Security**: Implement robust security measures to protect against common vulnerabilities.
- **Vanilla PHP**: Achieve all functionalities using only core PHP features.
---
## Contributing
As this is a personal learning project, contributions aren't actively sought at this time. However, feel free to fork the repository and experiment with it!
---
## Usage
_Instructions for setting up and running the API will be provided here once the project reaches a more stable state._
```bash
php index.php
```