PHPackages                             sardorbek\_1408/yadro-framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sardorbek\_1408/yadro-framework

ActiveProject

sardorbek\_1408/yadro-framework
===============================

Lightweight modular PHP 8.2+ enterprise framework core with optional first-party components

00PHPCI failing

Since Aug 24Pushed yesterdayCompare

[ Source](https://github.com/sardorergashev09uzb-commits/yadro-framework)[ Packagist](https://packagist.org/packages/sardorbek_1408/yadro-framework)[ RSS](/packages/sardorbek-1408-yadro-framework/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Yadro Framework
===============

[](#yadro-framework)

**PHP 8.2+** modular application framework: stable **Core**, replaceable **Modules**, optional **first-party components**.

> Core must be stable. Modules must be replaceable bricks. Dependencies flow through contracts and DI.

Requirements
------------

[](#requirements)

- PHP 8.2+
- PDO (MySQL/SQLite) for database features

Quick start
-----------

[](#quick-start)

```
cd yadro
php -S localhost:8000 -t public

php bin/yadro make:module Blog
php bin/yadro make:migration create_posts_table
php bin/yadro migrate
php bin/yadro make:crud Post --module=Blog --context=admin
php bin/yadro module:list
```

Architecture
------------

[](#architecture)

```
Application / Modules / Optional components
              ↓
     Contracts (Cache, Mail, Storage, Logger, UserProvider)
              ↓
Core: HTTP · Router · Container · Events · Database · Config · Module system

```

**Rule:** Core never imports `Modules\*`. Removing Admin/Cache/Mail must not break Core.

### Lifecycle

[](#lifecycle)

```
Bootstrap → Core providers register → Modules discover/validate/register
         → Core providers boot → Modules boot

```

### DI

[](#di)

Auto-wiring, interface binding, singleton/transient/scoped/factory, contextual binding, circular chain errors, `php bin/yadro container:show Class`.

### Modules

[](#modules)

- Manifest: `modules/{Name}/module.php`
- Required vs optional dependencies
- CLI: `module:list`, `module:enable`, `module:disable`
- Missing required dependency → explicit exception

### Database

[](#database)

Connection, QueryBuilder (operator whitelist), Schema/Blueprint, Migrations, Model (fillable, casts, soft deletes, relations). `migrate:fresh` blocked in production.

### Security

[](#security)

CSRF, XSS escaper, headers, PasswordHasher, AuthGuard, Gate, local-only generator, mass assignment protection.

### Optional components

[](#optional-components)

Disable via `config/components.php` or `'admin' => false` in `config/modules.php`.

### CRUD

[](#crud)

Shared `CrudConfig` + `CrudService`. Admin vs Home = policy/config/UI only.

### Testing

[](#testing)

```
php tests/ArchitectureTest.php
php tests/ContainerTest.php
php tests/DatabaseTest.php
php tests/GeneratorTest.php
php tests/ComponentsTest.php
php tests/IsolationTest.php
php tests/SecurityAuditTest.php
composer test
```

### Deployment

[](#deployment)

Set `APP_ENV=production`, strong `APP_KEY`, no public generator access, run migrations in CI/CD.

Docs
----

[](#docs)

- `docs/ARCHITECTURE.md`
- `docs/COMPONENTS.md`
- `docs/AUDIT.md`

License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7732900?v=4)[Sardorbek](/maintainers/Sardorbek)[@Sardorbek](https://github.com/Sardorbek)

---

Top Contributors

[![sardorergashev09uzb-commits](https://avatars.githubusercontent.com/u/224795788?v=4)](https://github.com/sardorergashev09uzb-commits "sardorergashev09uzb-commits (3 commits)")

### Embed Badge

![Health badge](/badges/sardorbek-1408-yadro-framework/health.svg)

```
[![Health](https://phpackages.com/badges/sardorbek-1408-yadro-framework/health.svg)](https://phpackages.com/packages/sardorbek-1408-yadro-framework)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
