Framework-Agnostic, Composer-Native

PHP Packages

Plain PHP libraries with no framework lock-in. They follow PSR standards and work the same in Laravel, Symfony, Slim, or a single script. Documented end to end and free under the MIT license.

5
Packages
MIT
Free & open source
PSR
Standards compliant
68.9K
Downloads

Libraries That Go Anywhere

None of these packages require a framework. Each card shows the exact Composer command.

v8.5.x

Readable

Human-friendly formatting for plain PHP. Turn numbers, byte sizes, money and durations into readable text, with predictable output and optional Intl locales.

composer require pharaonic/php-readable
0 Stars 0 Installs
v8.5.x

Rss

A lightweight, dependency-free RSS 2.0 feed generator for PHP 8, with a fluent API, strict validation, and built-in Atom, Content, Dublin Core, and Media RSS extensions.

composer require pharaonic/php-rss
1 Stars 786 Installs
v8.5.x

Hijri

Hijri (Islamic) date support for PHP built on Carbon. Convert Gregorian dates to Hijri and back, parse Hijri strings, and format month names in Arabic or English.

composer require pharaonic/php-hijri
8 Stars 46.6K Installs
v8.5.x

Slugify

Framework-agnostic slug generation for PHP. Keep Unicode or transliterate to ASCII, use any separator, split camelCase and acronyms, and add your own replacement rules.

composer require pharaonic/php-slugify
9 Stars 8.5K Installs
v8.5.x

Dot Array

Read, write, check and delete values in deeply nested PHP arrays with dot-notation paths like user.profile.name and wildcards like users.*.email.

composer require pharaonic/php-dot-array
10 Stars 13K Installs

No Framework Required

Built to fit into any codebase, including one that has no framework at all.

Portable

One API across Laravel, Symfony, Slim, and plain PHP. Switch frameworks without switching libraries.

PSR Compliant

PSR-4 autoloading and standard interfaces, so they plug into existing containers, loggers, and HTTP clients.

Strictly Typed

Written for modern PHP with typed properties and native enums, and checked by static analysis.

Fits Any Framework

Use them in plain PHP, or inside your Laravel, Livewire and Filament apps.

Install in Seconds

Any Composer project works. Require the package and use it.

Terminal
# Install
composer require pharaonic/php-dot-array
 
// Use it anywhere Composer's autoloader is loaded
require __DIR__ . '/vendor/autoload.php';
FAQ

PHP Packages Questions

Quick answers about Pharaonic's PHP packages.

Which PHP packages does Pharaonic offer?

Pharaonic offers 5 free, open-source PHP packages: Readable, Rss, Hijri, Slugify and Dot Array.

Are Pharaonic's PHP packages free?

Yes. Every package is open source under the MIT license, so you can use it in personal and commercial projects.

How do I install a Pharaonic PHP package?

Each package installs with a single Composer command, composer require pharaonic/<package>. The exact command, requirements, and documentation are on each package's page.

How do I get help with a PHP package?

Open an issue on the package's GitHub repository, ask in the Pharaonic Discord, or contact us.

Building With Laravel?

Our Laravel packages add Eloquent traits, Artisan commands, and Livewire components on top of the framework.