Download the PHP package machinjiri/framework without Composer

On this page you can find all versions of the php package machinjiri/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 framework

Machinjiri PHP Framework

Machinjiri is a modular, production-ready PHP framework for building maintainable web applications, APIs, and internal tools with speed and clarity. It combines a resilient service container, expressive routing, database tooling, security helpers, queue processing, task scheduling, and modern developer tooling in a single cohesive platform.

Current stable version: 2.2.6

What’s New in 2.2.6

Machinjiri 2.2.6 focuses on production-readiness, cleaner application startup, and broader infrastructure support. The release strengthens the framework across the core container, CLI tooling, queue system, task scheduler, authentication integrations, and event-driven services.

Highlights from this release include:

This release keeps Machinjiri focused on maintainability, modularity, and developer productivity without sacrificing operational safety or enterprise integration depth.

Table of Contents

Introduction

Machinjiri is designed to accelerate web development with:

Features

Core Architecture

Routing System

View Engine

Database & ORM

Authentication & Security

Forms & Validation

Queues & Jobs

Task Scheduler

Webhooks

SMS

Components

HTTP Layer

Logging & Monitoring

Date & Time Handling

Network Utilities

System Requirements

Installation

Install with Composer

Install Machinjiri as a dependency in your project:

Local development

To run the framework repository locally:

Recommended setup

Quick Start

1. Create Your First Route

2. Create a Controller

3. Create a View

4. Connect Route to Controller

5. Start Development Server

Visit http://localhost:3000 in your browser.

Project Structure

Core Components

Routing System

The router handles all HTTP requests and directs them to appropriate controllers or callbacks.

Basic Routing:

Middleware:

CORS Configuration:

View Engine

Machinjiri provides a powerful templating engine with a clean, readable syntax.

Template Syntax:

Layout Example:

Usage in Controller:

Database & ORM

Machinjiri provides a powerful query builder and migration system for database operations.

Database Configuration:

Query Builder:

Migrations:

Seeders:

Authentication & Security

Machinjiri provides comprehensive authentication and security features.

Session-Based Authentication:

Login/Logout:

OAuth Integration:

Password Security:

CSRF Protection:

Encryption:

LDAP

The LDAP component provides configured connections, escaped query filters, and LDAP entry objects. The PHP LDAP extension must be enabled before using it.

Register an LDAP manager:

Add the provider to config/providers.php, then query the directory from a controller or service:

For LDAP-backed authentication, configure the guard with the ldap provider driver. The provider searches by uid and mail, synchronizes selected attributes to the local user model, and validates passwords by binding with the user DN:

Forms & Validation

Create and validate forms with ease.

Form Validation:

Custom Rules:

Queues & Jobs

Process background jobs asynchronously.

Create a Job:

Dispatch Job:

Process Jobs:

Task Scheduler

Scheduled tasks extend ScheduledTask, define a cron expression, and implement handle(). Register task classes with the task manager or use the generator to create and register one:

The scheduler persists task definitions and execution history, dispatches work to the scheduler queue, prevents overlapping runs by default, and supports task groups, priorities, retries, maintenance-mode behavior, and cached status data. Use scheduler:status, scheduler:stats, scheduler:enable, and scheduler:disable to operate it.

Webhooks

Configure provider subscriptions with their signing secret, verification method, event handlers, and whether processing should be synchronous or queued. Incoming requests are processed through WebhookManager:

Queued providers are dispatched to the webhooks queue and return an accepted response. Synchronous providers invoke all matching handlers and return the first failed response, or the final successful response. HMAC, timestamped HMAC, and custom signature callbacks are supported.

SMS

Configure one or more SMS transports and send through the manager. Delivery can be immediate or queued on the sms queue:

The manager returns a structured response, logs delivery failures, and supports custom transports through the transport registry.

Components

Create reusable UI components programmatically.

Available Components:

⚙️ Configuration

Environment Configuration

Configuration is managed through .env files and config classes:

Application Configuration

Service Provider Configuration

Mail Configuration

API Reference

Application Container

Router API

View API

Request API

Response API

Database API

Error Handling

Machinjiri provides comprehensive error handling with environment-aware output:

Error Handler Features:

Console Commands (Artisan)

Machinjiri includes an Artisan console for many development workflows. Common commands include:

Testing

Machinjiri ships with an upgraded PHPUnit base test case that mirrors the framework’s newer feature set and makes application-level testing easier without forcing a full app scaffold into every repo.

Base test case

Available test concerns

The upgraded suite exposes helpers for:

Running the suite

Best practices

Contributing

We welcome contributions! Here's how to get started:

  1. Fork the Repository

  2. Create a Feature Branch

  3. Make Your Changes

    • Follow PSR-12 coding standards
    • Add tests for new features
    • Update documentation
  4. Commit and Push

  5. Open a Pull Request
    • Describe your changes clearly
    • Reference any related issues
    • Ensure tests pass

Development Setup

License

This project is licensed under a proprietary license - see the LICENSE file for details.

Support


Authors

Acknowledgments


Full Documentation:

Built with ❤️ by the Machinjiri Team

Made for developers, by developers.


All versions of framework with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
phpmailer/phpmailer Version ^7.0.1
symfony/console Version ^5.3
symfony/filesystem Version ^5.3
symfony/process Version ^5.3
predis/predis Version ^3.3.0
dragonmantank/cron-expression Version ^3.6.0
africastalking/africastalking Version ^3.0.2
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 machinjiri/framework contains the following files

Loading the files please wait ...