Download the PHP package ixaya/manager without Composer
On this page you can find all versions of the php package ixaya/manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ixaya/manager
More information about ixaya/manager
Files in ixaya/manager
Package manager
Short Description An HMVC Framework, Superset of CodeIgniter
License MIT
Informations about the package manager
Manager — by Ixaya
HMVC CodeIgniter 3 based Framework for creating backends
About this package
Ixaya Manager extends CodeIgniter 3 with HMVC module loading, a typed base model, a REST framework with API-key auth, and a cross-engine migration builder.
The framework is always consumed as a Composer dependency: your project bootstraps once from the included scaffold, and from then on the framework lives in vendor/ixaya/manager and upgrades with composer update. Framework code is never copied into or edited inside a project — see docs/development/upgrading.md in your project to learn how to update your project's files after an upgrade.
Features
- CodeIgniter base upgradeable through Composer
- HMVC, organize your code into self-contained modules, each with its own controllers, models and views
- Modern, typed PHP (8.3+) codebase — enums,
match, named parameters, readonly value objects - Support for MySQL/MariaDB, PostgreSQL, SQL Server, SQLite, or any database supported by CodeIgniter 3
- Different Database connection/technology per Model. (you can have a model that loads a Database from Postgres and another Model that loads a Database from MySQL)
- Typed base model (
MY_Model) with soft deletes, audit history, tenant scoping, and a dynamic query builder - REST framework with API-key auth, group/level permissions, and content-negotiated JSON errors
- Cross-engine migration builder — one migration runs on MySQL/MariaDB, PostgreSQL, SQL Server, and SQLite
- Per-module migration versioning with plan/dry-run tooling
- Redis-augmented cache (lists, sets, hashes, pub/sub) and a WebSocket server for real-time notifications
- Login protected Admin module
- Examples to create a REST API
- Agent skills included (
system/skills/) so coding agents follow the framework conventions - Framework-level exception handling: uncaught errors return proper JSON responses with the right HTTP status and CORS headers
- Application code kept outside the public web root
How to Install
This is the quick version. If you want a more in depth guide follow system/docs/setup.md instead, which covers this setup in full.
Requirements
- PHP 8.3+
- Composer
1. Install via Composer
2. Scaffold your project (one time)
Copy the sample application structure from the package into your project root. This is a one-time bootstrap — it copies your application's starting structure (controllers, models, views, config, and entry points), not the framework itself:
This gives you a complete working structure — controllers, models, views, config, and entry points — ready to customize. The sample ships composer.json.sample, a template, so this never overwrites your own composer.json; integrate its require-dev block into yours, then run composer update (not install).
3. Configure environment
Open both files and fill in the required fields:
.env— general settings: app name, base URL, environment, database credentials, cache, mail..env.priv— sensitive secrets: API keys, tokens, private credentials. Never commit this file.
Suggested packages
Depending on the features you need, install one or more of the following:
Optional — core extensions:
Optional — WebSocket server:
Agent skills
The package ships its coding conventions as agent skills (open SKILL.md format, usable by any coding agent) in system/skills/. They cover the whole development surface — code style, database models, REST endpoints and auth, web controllers and theming, migrations, CLI and background jobs, helpers and libraries, caching and WebSockets, and live runtime testing — and each skill describes when to use it. The scaffold's AGENTS.md carries the per-skill routing table for agents working in your project.
Link them into your project (run from the project root; re-run after major framework updates):
Project-wide agent instructions belong in your project's AGENTS.md (the cross-tool standard); tools that read CLAUDE.md can use a one-line @AGENTS.md import.
PHP Validations
PHP Static Code Analysis
Run using PHPStan:
First time, install PHPStan:
Standard analysis:
With increased memory limit:
Tip: Use the memory limit option if you encounter out-of-memory errors during analysis.
PHP Unit Testing
Run using PHPUnit. For DB-backed suites, copy .env.sample.testing.priv to .env.testing.priv and fill in a DB profile first — review your project's documentation for the full setup.
First time, install PHPUnit:
Run all tests:
Run one testsuite (as named in phpunit.xml):
Run a specific test file (absolute path — the framework's CLI boot changes the working directory, so relative file arguments don't resolve):
Run tests matching a class or method name:
Tip: Use
--testdoxflag for readable test output, or--stop-on-failureto halt execution on the first failed test. Note: Run it through the dockertoolsservice — seedocs/development/docker.md. This is the supported path regardless of what's installed on the host.
PHP Code Formatting
Fix using PHP CS Fixer
First time, install PHP CS Fixer:
Fix code formatting:
Dry run (preview changes without applying):
Dry run with diff (preview exact changes):
Docker Setup
The scaffold ships a complete Docker stack under docker/: PHP-FPM + Nginx for the website, plus Valkey (cache/sessions), and optional WebSocket, cron, and database (MySQL/MariaDB/PostgreSQL) containers behind profiles.
All operations go through the wrapper script — never docker compose directly, since it wires the per-instance env files and secrets the compose file needs:
<instance> selects the env files, secrets, and published ports, so multiple instances can run side by side. First-time setup (creating your instance's env files, secrets, and picking a database engine) is documented in the scaffold's docs/development/docker.md.
MsgPack Support
This package can use MsgPack for faster cache and payload serialization. While the native PHP MsgPack extension (installed via pecl or system packages) offers the best performance, not all servers have it available.
Install the PHP MsgPack Fallback Library
Add the pure PHP implementation to your project, along the composer patcher:
Apply the PHP 8.1+ Compatibility Patch
Add the following configuration to your root composer.json:
Apply the Changes
Run the following command to install dependencies and apply patches:
Application Structure
Project Setup
Create a root folder named app and upload the project inside it — on a server that is where the project lives, in place of public_html or similar. The framework follows an HMVC (Hierarchical Model-View-Controller) architecture based on CodeIgniter.
Root Directory
Public Directory
The public/ folder contains all publicly accessible files served by the web server.
Application Directory
The application/ folder contains the core application code and global resources.
Modules (HMVC Structure)
The framework uses HMVC architecture, allowing you to organize code into self-contained modules. Each module can have its own MVC structure and resources.
Benefits of HMVC:
- Modularity: Each module is self-contained and reusable
- Organization: Better code organization for large applications
- Separation: Modules can be developed and tested independently
- Scalability: Easy to add, remove, or replace modules
Example Module Structure:
Additional Directories
bin/- Command-line scripts and utilitiesprivate/- Private files not accessible via webpatches/- Compatibility patches for dependencies