An open API service indexing awesome lists of open source software.

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

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
```