# Pharaonic

> Pharaonic is an open-source collection of 21 free, MIT-licensed Laravel, Livewire, Filament and PHP packages, founded in 2020 by Moamen Eltouny (Raggi). Each package solves one common problem and installs with a single Composer command.

- Every package is free and open source under the MIT license, for personal and commercial use.
- Install any package with `composer require pharaonic/<package>`; each package page lists the exact command and requirements.
- Packages are grouped by technology: PHP, Laravel and Livewire.
- Total downloads: 326.8K+; GitHub stars: 144+.
- Support: GitHub issues on each repository, GitHub Discussions (https://github.com/orgs/Pharaonic/discussions) for questions, or Discord (https://discord.gg/XQG9RhvEvf) for real-time chat.

## PHP packages

PHP is a popular general-purpose scripting language that is especially suited to web development.

- [Hijri](https://pharaonic.dev/packages/php/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. Install: `composer require pharaonic/php-hijri`. Latest release: v8.5.6. Requires PHP 8.5+. Docs (v8.5.x): https://pharaonic.dev/packages/php/hijri/8.5.x
- [Dot Array](https://pharaonic.dev/packages/php/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. Install: `composer require pharaonic/php-dot-array`. Latest release: v8.5.2. Requires PHP 8.5+. Docs (v8.5.x): https://pharaonic.dev/packages/php/dot-array/8.5.x
- [Slugify](https://pharaonic.dev/packages/php/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. Install: `composer require pharaonic/php-slugify`. Latest release: v8.5.0. Requires PHP 8.5+. Docs (v8.5.x): https://pharaonic.dev/packages/php/slugify/8.5.x
- [Readable](https://pharaonic.dev/packages/php/readable): Human-friendly formatting for plain PHP. Turn numbers, byte sizes, money and durations into readable text, with predictable output and optional Intl locales. Install: `composer require pharaonic/php-readable`. Latest release: v8.5.2. Requires PHP 8.5+. Docs (v8.5.x): https://pharaonic.dev/packages/php/readable/8.5.x
- [RSS](https://pharaonic.dev/packages/php/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. Install: `composer require pharaonic/php-rss`. Latest release: v8.5.1. Requires PHP 8.5+. Docs (v8.5.x): https://pharaonic.dev/packages/php/rss/8.5.x
- [Smart Enum](https://pharaonic.dev/packages/php/smart-enum): One trait that adds framework-independent helpers to native PHP enums, such as names, values, labels, options, lookup by case name, strict comparisons and isActive() style case checks, without replacing cases(), from() or tryFrom(). Install: `composer require pharaonic/php-smart-enum`. Latest release: v8.5.1. Requires PHP 8.5+. Docs (v8.5.x): https://pharaonic.dev/packages/php/smart-enum/8.5.x
- [Fingerprint](https://pharaonic.dev/packages/php/fingerprint): Deterministic fingerprints of PHP data, whatever the key order, plus ordered HMAC signatures for payment gateways and webhooks. Install: `composer require pharaonic/php-fingerprint`. Latest release: v8.5.0. Requires PHP 8.5+. Docs (v8.5.x): https://pharaonic.dev/packages/php/fingerprint/8.5.x
- [Diff](https://pharaonic.dev/packages/php/diff): Semantic diffs of PHP arrays and objects, with paths, identity-aware lists, moves and redaction, plus GitHub-style text diffs with hunks, unified patches and HTML. Install: `composer require pharaonic/php-diff`. Latest release: v8.5.0. Requires PHP 8.5+. Docs (v8.5.x): https://pharaonic.dev/packages/php/diff/8.5.x

## Laravel packages

Laravel is a web application framework with expressive, elegant syntax.

- [Readable](https://pharaonic.dev/packages/laravel/readable): Human-readable numbers, dates, durations and file sizes for Laravel, as static methods, helpers and Blade directives. Install: `composer require pharaonic/laravel-readable`. Latest release: v13.0.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/readable/13.x
- [Hijri](https://pharaonic.dev/packages/laravel/hijri): Hijri dates for Laravel. Convert Carbon dates both ways, print them with @hijri, and validate Hijri input. Install: `composer require pharaonic/laravel-hijri`. Latest release: v13.1.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/hijri/13.x
- [Executor](https://pharaonic.dev/packages/laravel/executor): Run deployment tasks in Laravel once or on every deploy: Artisan commands, queued jobs and data fixes, tracked in batches with rollback, tags, server targeting and a cross-server lock. Install: `composer require pharaonic/laravel-executor`. Latest release: v13.1.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/executor/13.x
- [Laravel Uploader](https://pharaonic.dev/packages/laravel/uploader): Upload files to any Laravel disk with hashed names, image thumbnails, visibility control and secure URLs, through a facade, helpers and an Eloquent model. Install: `composer require pharaonic/laravel-uploader`. Latest release: v13.1.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/uploader/13.x
- [Sluggable](https://pharaonic.dev/packages/laravel/sluggable): Unique slugs for Eloquent models. One property for the common case, any number of slug columns when you need more. Install: `composer require pharaonic/laravel-sluggable`. Latest release: v13.1.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/sluggable/13.x
- [SEO](https://pharaonic.dev/packages/laravel/seo): Titles, meta tags, canonical and alternate links, Open Graph and Twitter cards for Laravel, set from controllers, Eloquent models or Blade and printed with one directive. Install: `composer require pharaonic/laravel-seo`. Latest release: v13.1.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/seo/13.x
- [Likes](https://pharaonic.dev/packages/laravel/likes): Let any Eloquent model like any other: like, unlike and toggle with results that say what changed, a unique index that keeps each pair to one row, and native relations for counts and eager loading. Install: `composer require pharaonic/laravel-likes`. Latest release: v13.0.2. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/likes/13.x
- [Notification Dependencies](https://pharaonic.dev/packages/laravel/notification-dependencies): Attach Laravel database notifications to Eloquent models and delete them automatically as soon as any of those models is deleted. Install: `composer require pharaonic/laravel-notification-dependencies`. Latest release: v13.0.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/notification-dependencies/13.x
- [Dynamic Config](https://pharaonic.dev/packages/laravel/dynamic-config): Store Laravel configuration values in the database, globally or per company, branch or tenant, and merge them into config() with one explicit load call. Install: `composer require pharaonic/laravel-dynamic-config`. Latest release: v13.0.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/dynamic-config/13.x
- [Follows](https://pharaonic.dev/packages/laravel/follows): Let any Eloquent model follow any other: follow, unfollow and toggle with results that say what changed, a unique index that keeps each pair to one row, and native relations for counts and eager loading. Install: `composer require pharaonic/laravel-follows`. Latest release: v13.0.0. Requires PHP 8.3+ and Laravel 13. Docs (v13.x): https://pharaonic.dev/packages/laravel/follows/13.x

## Livewire packages

Livewire is a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel.

- [Select2](https://pharaonic.dev/packages/livewire/select2): Select2 for Livewire components, with two-way wire:model binding, dynamic and dependent selects, templates, and automatic cleanup. Install: `composer require pharaonic/livewire-select2`. Latest release: v4.0.0. Requires PHP 8.1+, Laravel 10 – 13 and Livewire 4. Docs (v4.x): https://pharaonic.dev/packages/livewire/select2/4.x
- [Tagify](https://pharaonic.dev/packages/livewire/tagify): Tagify for Livewire components, with two-way wire:model binding for tags, select, and mix modes, suggestion lists, and automatic cleanup. Install: `composer require pharaonic/livewire-tagify`. Latest release: v4.0.0. Requires PHP 8.1+, Laravel 10 – 13 and Livewire 4. Docs (v4.x): https://pharaonic.dev/packages/livewire/tagify/4.x
- [Assistant](https://pharaonic.dev/packages/livewire/assistant): A shared Blade and JavaScript foundation that binds JavaScript widgets such as Select2 to Livewire components, with correct ownership, two-way sync, and automatic cleanup. Install: `composer require pharaonic/livewire-assistant`. Latest release: v4.0.0. Requires PHP 8.1+, Laravel 10 – 13 and Livewire 4. Docs (v4.x): https://pharaonic.dev/packages/livewire/assistant/4.x

## Guides

Practical guides for PHP, Laravel, Livewire and Filament developers: https://pharaonic.dev/guides

- [How to Remove Stale Database Notifications in Laravel](https://pharaonic.dev/guides/laravel/remove-stale-database-notifications): Learn how to clean up Laravel database notifications when an order or comment is deleted, from a simple Eloquent observer to explicit model dependencies.
- [Laravel Dynamic Configuration Without Redeploys: A Multi-Tenant Guide](https://pharaonic.dev/guides/laravel/laravel-dynamic-configuration): Persist Laravel config overrides in the database, layer global and tenant scopes, and handle runtime loading, caching, and queues without redeploying.
- [How to Run One-Time and Repeatable Tasks After Laravel Deployment](https://pharaonic.dev/guides/laravel/laravel-deployment-tasks): Run Laravel deployment tasks once or on every deploy, track execution, coordinate servers, and understand queued jobs and rollback with practical examples.
- [How to Use Tagify with Livewire 4 Without Manual Synchronization](https://pharaonic.dev/guides/livewire/tagify-livewire): Integrate Tagify with Livewire 4, keep client and server state synchronized, and replace fragile lifecycle code with a focused integration.
- [How to Generate a Stable Hash for PHP Arrays](https://pharaonic.dev/guides/php/stable-array-hash): Learn how to generate deterministic hashes for PHP arrays, normalize nested data, avoid key-order issues, and create reliable structured-data fingerprints.
- [How to Use Select2 with Livewire 4](https://pharaonic.dev/guides/livewire/select2-livewire): Learn how to integrate Select2 with Livewire 4, synchronize values, handle wire:ignore, dynamic options, and avoid common DOM update problems.
- [How to Compare Nested Arrays in PHP: Beyond array_diff()](https://pharaonic.dev/guides/php/compare-nested-arrays): Learn how to compare nested PHP arrays, report added, removed, and modified values at exact paths, and know when array_diff() is still enough.

## Pages

- [Packages catalog](https://pharaonic.dev/packages): Every Pharaonic package, searchable and grouped by technology.
- [About](https://pharaonic.dev/about): Who builds Pharaonic, its mission and history.
- [Contributors](https://pharaonic.dev/contributors): The open-source community behind the packages.
- [Contact](https://pharaonic.dev/contact): Support, partnerships, custom development and FAQs.

## Optional

- [Full documentation](https://pharaonic.dev/llms-full.txt): This file plus the FAQs and the latest docs of every package, in one Markdown file.
- [Sitemap](https://pharaonic.dev/sitemap.xml): Every page on the site.
- [GitHub organization](https://github.com/pharaonic): Source code, issues and releases for every package.
- [Packagist](https://packagist.org/packages/pharaonic/): Composer package listings and download stats.
- [GitHub Discussions](https://github.com/orgs/Pharaonic/discussions): Community questions, ideas and announcements.
- [Discord](https://discord.gg/XQG9RhvEvf): Real-time community chat.
