functional-php/fantasy-land
Fantasy Land–style algebraic structures for PHP to enable interoperable functional patterns. Includes interfaces for Setoid, Semigroup/Monoid, Functor, Applicative, Monad, Foldable/Traversable, plus ready-made law/property tests to verify implementations.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| kkszymanowski/traitor | 0.86 | Traitor brings traits to Eloquent like first-class relations. Define reusable, composable model fragments and access them via $model->traitName, eager load with with('traitName'), and query through them—keeping models slim while sharing behavior and attributes. | 130 | 130 | 3 | 150K | 1 | 3.5 | 41.9 | MIT | 2 years ago | |
| rikbruil/specification | 0.85 | Implements the Specification pattern for Laravel, letting you encapsulate query constraints and business rules as reusable, composable classes. Combine specifications with and/or/not operators and apply them directly to Eloquent queries for cleaner, testable filtering logic. | 18 | — | 3 | — | 0 | 0.2 | — | MIT | — |
|
| maartenpaauw/laravel-specification-pattern | 0.85 | A Laravel package for the specification pattern, letting you encapsulate business rules into reusable, composable specifications and apply them to Eloquent queries or collections for cleaner, testable domain logic. | 15 | — | 1 | — | 0 | 8.7 | — | MIT | 7 months ago | |
| bruli/php-value-objects | 0.85 | A lightweight PHP library for building immutable value objects with typed primitive wrappers and validation. bruli/php-value-objects helps enforce domain invariants, reduce primitive obsession, and keep Laravel or any PHP codebase clearer and safer. | 43 | 43 | 13 | 580 | 1 | 0.7 | 15.9 | MIT | — | |
| interop-phpobjects/polite-math | 0.85 | — | 1 | 1 | 0 | 32K | 0 | 2.4 | 55.3 | MIT | 2 years ago | |
| pisac/pisac | 0.84 | Pisac is a lightweight Laravel/PHP package that provides a simple, extensible writer-style toolkit for generating and managing application content, making it easy to add text-driven features with clean, Composer-ready integration. | 10 | 10 | 0 | 0 | 0 | 0.4 | — | MIT | 5 years ago | |
| php-standard-library/math | 0.84 | Strictly typed math utilities for PHP with predictable, consistent error handling. Part of the PHP Standard Library project, providing reliable mathematical functions and a stable developer experience for safer numeric operations. | 1 | 1 | 0 | 20K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| malukenho/docheader | 0.84 | Laravel package that adds and manages standardized documentation headers in your source files. Generate consistent file/class docblocks with project metadata, author, license, and timestamps, helping teams enforce style and keep headers up to date automatically. | 68 | 68 | 8 | 8K | 2 | 2.0 | 29.2 | MIT | 8 years ago | |
| aimeos/map | 0.84 | High-performance e-commerce framework for Laravel/Lumen (and other PHP apps). Provides products, catalog, basket, checkout, customers, orders and admin UI. Extensible via plugins, supports multiple shops/sites, currencies and languages, and scales well. | 4,329 | 4,328 | 16 | 17K | 1 | 22.2 | 9.5 | MIT | — | |
| michaldudek/foundation | 0.84 | Foundation is a Laravel package that supplies reusable base classes and utilities for common application layers such as models, repositories, and services. It helps reduce boilerplate and keep project code structured, consistent, and easier to maintain. | 12 | 13 | 1 | 236 | 0 | 0.1 | 17.7 | NOASSERTION | — | |
| salehhashemi/laravel-repository | 0.84 | A Laravel package implementing the repository pattern with a clean abstraction layer for database access. It adds dynamic filtering, reusable criteria, custom search logic, and a make:repository command to scaffold repositories, interfaces, and filters. | 20 | 20 | 2 | 367 | 0 | 15.5 | 19.4 | MIT | 4 months ago | |
| andydefer/domain-structures | 0.84 | A Laravel/PHP package that provides reusable domain structures and building blocks for domain-driven design. It helps organize business logic, reduce boilerplate, and keep core rules isolated from framework and infrastructure concerns for cleaner, more maintainable applications. | 0 | 0 | 0 | 2K | 0 | 0.0 | 46.3 | MIT | — | |
| opcodesio/mail-parser | 0.84 | Simple, fast PHP 8+ email/MIME parser with a clean API—no mailparse extension required. Parse .eml strings/files, read headers (From/To/Subject/Date/size), and extract HTML/text bodies, parts, and attachments. | 22 | 22 | 2 | 660K | 1 | 22.8 | 63.7 | MIT | 4 months ago | |
| spatie/fractalistic | 0.84 | Developer-friendly wrapper around League Fractal to transform API data with less boilerplate. Build resources, apply transformers, includes, and output arrays with a fluent API or one-liner syntax. Great for PHP projects; Laravel users may prefer laravel-fractal. | 383 | 385 | 32 | 429K | 0 | 17.2 | 44.3 | MIT | 8 months ago | |
| gosuperscript/monads | 0.84 | gosuperscript/monads is a lightweight functional programming library for PHP and Laravel, offering Option, Result, and related monads to handle nullable values and errors safely through clean, chainable APIs. | 6 | 6 | 1 | 24K | 0 | 11.7 | 53.9 | — | 5 months ago | |
| imanghafoori/laravel-nullable | 0.84 | — | 151 | 151 | 10 | 16K | 2 | 3.1 | 28.8 | MIT | 1 year ago | |
| cocur/vale | 0.84 | cocur/vale is a lightweight PHP value validation library. Define reusable rules to validate strings, numbers, arrays, and objects, and get clear, consistent results without pulling in a full framework—handy for DTOs, APIs, and input sanitization. | 14 | 14 | 1 | 3K | 0 | 0.7 | 32.1 | MIT | 11 years ago | |
| apie/type-converter | 0.84 | Apie type converter converts PHP objects into other objects, ideal for mapping DTOs to domain objects and back. It ships with default converters and lets you easily write your own. | 0 | 0 | 0 | 3K | 0 | 16.4 | 53.7 | MIT | 2 months ago | |
| php-standard-library/foundation | 0.84 | Foundation provides the core building blocks for PHP Standard Library packages: a consistent exception hierarchy, the Ref reference wrapper for safe value passing, and invariant functions for validating preconditions and enforcing assumptions. Lightweight, dependency-free, and designed for reuse acr... | 1 | 1 | 0 | 105K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| wilderborn/partyline | 0.84 | Partyline adds lightweight, terminal-style feedback to your Laravel app. It helps you print and update messages, show progress, and display clean, interactive CLI output—handy for Artisan commands, long-running jobs, and scripts. | 193 | 193 | 11 | 195K | 1 | 2.3 | 41.4 | — | 3 years ago |
How can I help you explore Laravel packages today?