AmirPHP Framework

The next generation PHP framework - Faster, Smarter and More Secure

Ultra Fast
Highly Secure
Lightweight
Free & Open Source

AmirPHP Framework Features

Blazing Fast Performance

AmirPHP is optimized for speed with a lightweight core that delivers 60% faster response times compared to other PHP frameworks.

Enhanced Security

Built-in protection against SQL injection, XSS, CSRF, and other vulnerabilities with advanced security protocols.

Modular Architecture

Powerful add-on system that allows extending functionality without touching the core framework files.

Advanced Theme System

Complete control over your application's appearance with our powerful theming engine and live preview.

Multi-language Support

Built-in internationalization with support for multiple languages and automatic translation management.

Multi-Tenancy Ready

Run multiple websites from a single installation with complete data separation. Perfect for SaaS applications.

API Generator

Automatically generate RESTful APIs for your models with built-in authentication and rate limiting.

Database Tools

Visual database management with built-in tools for backup, optimization, and migration.

Responsive Design

Built-in tools for creating responsive applications that work perfectly on all device sizes.

Why Choose AmirPHP Over Laravel?

AmirPHP Advantages

  • 60% faster request processing
  • Built-in modular architecture
  • Advanced add-on system
  • Multi-tenant support built-in
  • Real-time application support
  • Lower memory consumption
  • Built-in API generator
  • Advanced theme system
  • Multi-language support
  • Enhanced security protocols

Laravel Weaknesses

  • Slower performance out-of-the-box
  • Higher memory usage
  • Complex for simple applications
  • Steeper learning curve
  • Limited multi-tenant support
  • Requires packages for advanced features
  • Slower response times
  • More server resources needed
  • Theme system requires additional packages
  • Limited real-time capabilities

Documentation

AmirPHP comes with comprehensive documentation to help you get started quickly and efficiently. Our documentation covers everything from installation to advanced features.

Getting Started

Installation guide and basic configuration for new users.

Database Guide

Complete reference for working with databases in AmirPHP.

Security

Best practices for securing your AmirPHP applications.

Add-ons

Creating and using add-ons to extend AmirPHP functionality.

Theming

Complete guide to creating and customizing themes.

API Development

Building RESTful APIs with AmirPHP's powerful tools.

Command Guide

AmirPHP includes a powerful command-line interface (CLI) tool to help you build applications faster.

Basic Commands

# Create a new AmirPHP project
amir new project-name

# Start development server
amir serve

# Create a new controller
amir make:controller UserController

# Create a new model with migration
amir make:model User -m

Database Commands

# Run migrations
amir migrate

# Create a new migration
amir make:migration create_users_table

# Generate model factory
amir make:factory UserFactory

Add-on Commands

# Create a new add-on
amir make:addon BlogAddon

# Install an add-on
amir addon:install blog

# Enable an add-on
amir addon:enable blog

Download AmirPHP

Get started with AmirPHP framework today. Choose the option that works best for you:

Stable Release

Version 1.0 - Recommended for production use

Download v1.0

GitHub Repository

Access the source code and contribute to development

View on GitHub

Composer

Install via Composer for dependency management

composer create-project amirphp/amirphp