Download the PHP package sailantis/azera-framework without Composer

On this page you can find all versions of the php package sailantis/azera-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package azera-framework

Lightweight by Design. Powerful in Practice.

A lightweight, fast PHP framework for building modern Web applications and CLI tools. Azera combines the best ideas from frameworks like Phalcon, CodeIgniter, Laravel and Symfony into a minimal yet powerful toolkit.

Why Azera?

Lightweight & Fast - Minimal dependencies and overhead. No bloat, just what you need.

Modern PHP - Built for PHP 8.2+, embracing type hints, named arguments, and modern patterns.

Unified Query Builder - One consistent, fluent API for all database operations, whether you're using models or raw queries.

Flexible Architecture - Use as much or as little as you need. Mix and match components freely.

Secure by Default - SQL injection protection via prepared statements, CSRF protection, encryption helpers, and security best practices built in.

Developer Friendly - Intuitive APIs, clear error messages, and comprehensive documentation.

Features

MVC Stack

Database & ORM

HTTP Utilities

CLI Tools

Additional Features

Benchmarks

Azera is measured against Laravel, Symfony, Spiral, CodeIgniter 4 and CakePHP 5 on an identical full-stack workload — routing → controller → ORM query (SQLite) → template render → response — running on a real server. Two summaries are published beside the docs, one per deployment model:

As nginx + PHP-FPM — the framework boots again for every request, as PHP usually runs in production:

As a resident worker (RoadRunner) — the framework boots once and serves every request:

Each chart sums one pass over all 21 benchmarked endpoints. The full per-endpoint tables, the per-feature races and the memory charts are in the complete report covers all six frameworks.

Requirements

(PDO driver support is implemented for MySQL, PostgreSQL and SQLite. Other drivers may work but are not officially tested.)

Installation

Install via Composer:

Quick Start

Web Application (MVC)

Create a simple web application with routing and controllers:

Controller example:

Working with Models

Define and use Active Record style models:

Validating Input

Azera includes a fluent validation component. Fields are required by default; call ->optional() or ->default() where needed.

Or throw on failure instead of branching:

Paginating Results

Paginator wraps any Query, handles LIMIT/OFFSET, and runs an automatic total-count query.

Advanced Query Builder

Build complex queries with joins, subqueries, and aggregations.

Using Models and Sql Functions

Subqueries as Sources

A Query instance can be passed directly to ->from() or to any join method. The subquery is wrapped in parentheses automatically and its bind parameters are propagated to the outer query — no manual merging required.

Using ModelMapping for Dynamic Model References

ModelMapping lets you reference model names in queries without full Active Record classes — useful for dynamic schemas or reporting queries. See Database Queries for the complete API.

Using the Query Builder Directly on Tables

For queries that don't belong to any model, start with Query::raw() and specify the table manually:

CLI Tasks

Build command-line tools and scripts. Console auto-discovers tasks from PSR-4 namespaces, parses options, and renders color-highlighted help pages.

console.php — minimal entry point:

Create a task — extend Task, add *Action methods:

Run tasks from the command line — options are separated from positional arguments automatically:

Using Built-in Tasks

Azera includes a built-in model-sync task that synchronizes PHP models with the database schema:

model-sync all and model-sync make auto-resolve the target directory from PSR-4 entries in composer.json. See CLI Tasks for all options.

Project Structure

Recommended directory layout for Azera applications:

Documentation

Comprehensive guides and references:

Key Concepts

AppContext - Service Container

Centralized access to shared services via a singleton service container:

Registered callables are treated as zero-argument lazy factories. They are executed on first lookup and the returned object is cached for the rest of the request lifecycle.

Middleware Pipeline

Add custom logic to the request/response cycle:

Read/Write Database Splitting

Separate read and write connections for scalability:

Development

Running Tests

Azera uses PHPUnit for testing:

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.

When contributing:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Write tests for new functionality
  4. Ensure all tests pass
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Examples

Check out the examples/ directory for complete working examples:

Philosophy

Azera is designed with these principles:

Acknowledgments

Azera draws inspiration from:

About the Name

Azera is named after Andi Gutmans, Zeev Suraski, and Rasmus Lerdorf — the founders of PHP.

The little bird on the Azera logo is a Merlin falcon — a small, fast, and agile raptor, just like the framework itself: lightweight, focused, and built for speed. It is also a reference to Phalcon, which strongly influenced Azera’s design.

License

MIT License - see LICENSE file for details.


Built with ❤️ for developers who value security and performance


All versions of azera-framework with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-mbstring Version *
ext-pdo Version *
sailantis/clarity-engine Version ^0.1
psr/log Version ^3.0
psr/event-dispatcher Version ^1.0
psr/simple-cache Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sailantis/azera-framework contains the following files

Loading the files please wait ...