PHPackages                             sunvas/eleanor-php-library - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sunvas/eleanor-php-library

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sunvas/eleanor-php-library
==========================

Frameworkless PHP library for building SPA and bloat-free websites.

4.0(3w ago)27MITPHPPHP &gt;=8.5.0

Since Aug 6Pushed 3w ago1 watchersCompare

[ Source](https://github.com/Sunvas/eleanor-php-library)[ Packagist](https://packagist.org/packages/sunvas/eleanor-php-library)[ Docs](https://eleanor-cms.com/library)[ RSS](/packages/sunvas-eleanor-php-library/feed)WikiDiscussions main Synced today

READMEChangelog (7)DependenciesVersions (9)Used By (0)

[Русская версия](README.ru.md)

Eleanor PHP Library
===================

[](#eleanor-php-library)

Modern PHP frameworks have gradually evolved into enormous ecosystems requiring installation procedures, server reconfiguration, routing layers, build pipelines, dependency graphs, and entire operational environments. For many projects this approach is unnecessarily heavyweight.

Eleanor PHP Library follows a different philosophy. The library is designed for developers who want lightweight, practical, transparent, framework-independent PHP code without hidden runtime magic or excessive abstraction layers.

No installation rituals.
No mandatory router architecture.
No framework-controlled application lifecycle.
No dependency on complex server configuration.

Just download the library, connect it, and write PHP.

---

Design principles
-----------------

[](#design-principles)

### 1. No installation required

[](#1-no-installation-required)

The library works out of the box. You can simply copy the files into a project and start using them immediately.

Composer installation is optional:

```
composer require sunvas/eleanor-php-library
```

---

### 2. Shared hosting friendly

[](#2-shared-hosting-friendly)

The library is intentionally designed to work in traditional hosting environments without requiring:

- rewrite engine configuration;
- CLI bootstrap scripts;
- daemon processes;
- containers;
- privileged server access.

---

### 3. Lightweight architecture

[](#3-lightweight-architecture)

The goal of the library is not to replace PHP with another abstraction language. Eleanor PHP Library assists development while keeping the resulting code readable and predictable.

No hidden dependency injection containers.
No opaque lifecycle management.
No deeply nested framework internals.

---

### 4. Built-in core features

[](#4-built-in-core-features)

The library already includes:

- template engine;
- cache machines;
- MySQL driver;
- localization subsystem;
- delayed object initialization;
- structured error logging;
- coherent integration for third-party classes, interfaces, traits, and enums.

---

### 5. Delayed object creation

[](#5-delayed-object-creation)

Objects may be initialized lazily. For example, a MySQL connection will not be established until it is actually required.

---

### 6. Structured error logging

[](#6-structured-error-logging)

The logging subsystem automatically organizes log files:

- similar errors are grouped together;
- old logs are archived automatically.

---

Philosophy
----------

[](#philosophy)

Eleanor PHP Library does not attempt to dictate how applications must be structured.

It is a toolbox rather than a framework.

The main objective is simple:

- keep PHP lightweight;
- keep architecture understandable;
- keep the source code readable.

No puzzles under the hood.

---

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

[](#requirements)

- PHP 8.5 or higher

Code examples are available [here](https://github.com/Sunvas/eleanor-php-library-examples).

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance94

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~95 days

Recently: every ~71 days

Total

8

Last Release

27d ago

Major Versions

1.1.0 → 2.0.02025-05-25

2.2.0 → 3.02026-05-01

3.0 → 4.02026-06-05

PHP version history (3 changes)1.0.0PHP &gt;=8.3.0

2.2.0PHP &gt;=8.4.0

3.0PHP &gt;=8.5.0

### Community

Maintainers

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

---

Top Contributors

[![Sunvas](https://avatars.githubusercontent.com/u/287154?v=4)](https://github.com/Sunvas "Sunvas (41 commits)")

---

Tags

phpphp-libraryphp8phpphp8PHP Libraryphp8-library

### Embed Badge

![Health badge](/badges/sunvas-eleanor-php-library/health.svg)

```
[![Health](https://phpackages.com/badges/sunvas-eleanor-php-library/health.svg)](https://phpackages.com/packages/sunvas-eleanor-php-library)
```

###  Alternatives

[niiknow/bayes

a machine learning lib

7056.3k](/packages/niiknow-bayes)[marcin-orlowski/lombok-php

Never write boilerplate code for your data class again!

3219.9k1](/packages/marcin-orlowski-lombok-php)[andreas-glaser/php-helpers

A comprehensive collection of PHP utility functions for array manipulation, string operations, date handling, HTML generation, form building, validation, and more. Modern PHP 8.2+ library with full type safety.

1388.1k2](/packages/andreas-glaser-php-helpers)[ramazancetinkaya/byte-formatter

A modern PHP library for formatting and parsing byte values with precision and flexibility.

145.0k](/packages/ramazancetinkaya-byte-formatter)

PHPackages © 2026

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