restjs / php-rest-api
Minimalistic RESTful API with Modular Structure
Installs: 50
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:package
pkg:composer/restjs/php-rest-api
Requires
- php: >=8.2
- doctrine/orm: ^2.20
- firebase/php-jwt: ^6.10
- middlewares/trailing-slash: ^2.0
- php-di/php-di: ^7.0
- slim/psr7: ^1.7
- slim/slim: 4.*
- symfony/cache: ^6.0
- vlucas/phpdotenv: ^5.6
README
A lightweight, fast, and easy-to-use RESTful API built with native PHP and MySQL. Perfect for small-scale projects, learning purposes, or when you want to avoid frameworks.
Features
✅ Slim Framework 4 for lightweight routing
✅ Doctrine ORM integration for MySQL
✅ JWT Authentication for secure token-based auth
✅ Dotenv for environment configuration
✅ File Upload Handling
✅ Modular OOP structure
License
MIT License. © 2025 FullStackOnDemand