Download the PHP package uptura-official/flexiapi without Composer
On this page you can find all versions of the php package uptura-official/flexiapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download uptura-official/flexiapi
More information about uptura-official/flexiapi
Files in uptura-official/flexiapi
Package flexiapi
Short Description FlexiAPI - A powerful CLI-based framework for rapid REST API development with zero configuration
License MIT
Homepage https://github.com/Uptura/flexiapi
Informations about the package flexiapi
🚀 FlexiAPI Framework
FlexiAPI is a powerful, zero-configuration CLI framework for rapid REST API development. Build production-ready APIs with authentication, encryption, pagination, and CORS in minutes, not hours.
🌟 Key Features
- 🎯 Zero Configuration - Get started immediately without complex setup
- 🔐 Built-in Authentication - JWT with custom headers (Auth-x)
- 🛡️ Field-Level Encryption - AES-256-CBC encryption for sensitive data
- 📊 Advanced Querying - Pagination, search, filtering, and sorting
- 🌐 Dynamic CORS - CLI-configurable CORS policies
- ⚡ Rapid Development - Create full CRUD APIs in seconds
- 🔧 Flexible CLI - Works in development and production environments
- 📦 Easy Deployment - Composer-ready package management
📦 Installation
Global Installation (User Recommended)
Create New Project (Developers)
Create with Custom Directory Name
Manual Setup
Local Dev Test
Update Framework
🚀 Quick Start
1. Initialize Your API
2. Create Your First Endpoint
3. Start Development Server
4. Test Your API
Your API is immediately available with full CRUD operations:
🔐 Authentication
FlexiAPI uses JWT tokens with a custom Auth-x header for enhanced security.
Generate API Keys
To solve "Invalid secret", retrieve your JWT secret key from config.php
Response:
Use Authentication
Include the Auth-x header in all authenticated requests:
🛡️ Field-Level Encryption
Protect sensitive data with built-in AES-256-CBC encryption.
Configure Encryption
Automatic Encryption/Decryption
📊 Advanced Querying
Pagination
Search Across All Fields
Column-Specific Search
Sorting
Combined Queries
Response Format
🌐 CORS Configuration
Configure CORS policies dynamically via CLI.
Interactive CORS Setup
Example CORS Configuration
🔧 CLI Commands
Core Commands
Generation Commands
Aliases
📁 Project Structure
🔄 API Response Format
All API responses follow a consistent format:
Success Response
Error Response
Paginated Response
🛠️ Development Workflow
1. Create New Feature Endpoint
2. Update Existing Endpoint
3. Test API Endpoints
4. Export Database Schema
🚀 Deployment
Platform as a Service (PaaS) - One-Click Deploy
Heroku
FlexiAPI includes a Procfile for seamless Heroku deployment:
Railway
FlexiAPI includes .nixpacks.toml for Railway's Nixpacks builder:
Deploy steps:
Platform.sh
Includes .platform.app.yaml for Platform.sh deployment.
Traditional Server Setup
-
Create new project:
-
Configure production database:
-
Create endpoints and export schema:
- Upload to server and import database:
Environment Variables
Set these variables for production deployment:
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
📄 License
FlexiAPI is open-sourced software licensed under the MIT license.
🔗 Links
- 📖 Documentation
- 🐛 Issues
- 💬 Discussions
- 🌟 Changelog
💡 Support
- Documentation: Full guides and examples in this README
- Issues: Report bugs on GitHub Issues
- Community: Join discussions on GitHub Discussions
Made with ❤️ by Uptura
- ✅ Postman collection generation
- ✅ SQL export functionality
All versions of flexiapi with dependencies
ext-pdo Version *
ext-pdo_mysql Version *
ext-openssl Version *
ext-json Version *