petrknap/optional
Optional brings Java 8-style Optional to PHP, making null handling explicit and safe with isPresent(), get(), orElse(), and ifPresent(). Create strictly typed optionals for bools, strings, arrays, objects, and custom types using built-in traits with full static analysis support.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| coolms/dtmpl | 0.86 | A sandboxed template language for non-PHP authors, with lexer, parser, AST and runtime, plus extensible widgets, filters and loaders. No PHP, filesystem or arbitrary calls—framework-optional, with a Symfony bundle available. | 0 | 0 | 0 | 553 | 0 | 0.0 | 37.9 | MIT | — | |
| php-standard-library/type | 0.85 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| simple-as-fuck/php-api-toolkit | 0.85 | A no-nonsense PHP toolkit for building APIs without boilerplate. It bundles routing, request validation, JSON responses, and error handling into a small, dependency-light package so you can ship endpoints faster. Simple to install, easy to extend. | 0 | 0 | 1 | 3K | 0 | 19.4 | 55.3 | Unlicense | 2 weeks 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 | — | |
| dave-liddament/php-language-extensions | 0.85 | PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax. | 196 | 196 | 5 | 27K | 3 | 3.1 | 30.6 | MIT | 11 months ago | |
| romanzipp/dto | 0.85 | Lightweight data transfer objects for PHP and Laravel. Define typed properties, cast and validate values, and convert DTOs to and from arrays with ease, keeping request and response data structured and type-safe. | 12 | 12 | 1 | 347 | 1 | 0.2 | 19.9 | MIT | — | |
| michael-rubel/laravel-value-objects | 0.85 | Laravel Value Objects offers an abstract base class and Eloquent casts for turning model attributes into immutable value objects, with validation, comparison helpers, and PHP 8 support for cleaner, type-safe domain code. | 205 | 205 | 18 | 159 | 1 | 2.2 | 3.8 | MIT | 1 year ago | |
| nunomaduro/yorn | 0.85 | Yorn is a small, focused Laravel package from Nuno Maduro (Pest, Larastan). Install it with Composer and it slots neatly into an existing app, with a clean API, no heavy configuration, and the framework-native feel his packages are known for. | 144 | 146 | 6 | 0 | 2 | 1.3 | — | MIT | — | |
| pisac/pisac | 0.85 | 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 | |
| mkoprek/request-validation-bundle | 0.85 | A validation bundle for PHP applications that applies rules to incoming HTTP request data, helping you reject malformed or missing input before it reaches your controllers. Define rules once and get consistent validation behavior and error responses across your request handling. | 0 | 0 | 2 | 0 | 0 | 0.1 | — | MIT | 3 years ago | |
| omnicode/php-util | 0.85 | omnicode/php-util is a lightweight collection of reusable PHP utility helpers for common development tasks. Framework-agnostic and easy to integrate, it provides practical building blocks that help keep Laravel and other PHP projects cleaner, DRYer, and easier to maintain. | 0 | 2 | — | 0 | — | 0.0 | — | — | — | |
| funct/funct | 0.85 | Funct brings functional programming to Laravel and plain PHP with expressive pipelines, higher-order collection helpers, currying, and immutable data transforms, giving you a fluent, testable API for cleaner array and value manipulation. | 603 | 606 | 42 | 813 | 3 | 5.2 | 6.2 | MIT | 2 years ago | |
| 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 | |
| isolate/lazy-objects | 0.85 | A lightweight PHP package for deferring object initialization until first access. Create lazy proxies that resolve real instances on demand, helping reduce boot-time overhead and memory usage in Laravel and plain PHP apps. | 2 | 2 | 1 | 9 | 0 | 0.0 | 8.3 | MIT | 11 years ago | |
| rappasoft/laravel-helpers | 0.85 | rappasoft/laravel-helpers offers a practical collection of helper functions and classes for Laravel, including utilities for arrays, strings, dates, numbers, URLs, and more. It helps reduce repetitive boilerplate and speed up everyday application development. | 277 | — | 69 | — | 0 | 22.9 | — | — | 4 weeks ago | |
| pollora/option | 0.84 | A Laravel-friendly wrapper for WordPress options that gives you a clean Option facade to get, set, update, and delete site options without raw WordPress calls. Built for the Pollora ecosystem, it adds sensible defaults and fluent, typed access for WordPress-backed Laravel apps. | 1 | 1 | 0 | 6K | 0 | 18.8 | 55.9 | MIT | 1 month ago | |
| petrepatrasc/http-adapter-bundle | 0.84 | A Symfony bundle offering an HTTP adapter abstraction, letting applications wrap or swap HTTP client implementations behind a shared interface. Useful for decoupling code from specific HTTP libraries, though the project is low-activity and sparsely documented. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| calebporzio/laravel-helpers-file | 0.84 | A grab-bag of handy Laravel helper functions packed into one file by Caleb Porzio. Drop it into any project for shortcuts to common tasks, cleaner code, and less boilerplate—lightweight, framework-native utilities you can call right away. | 61 | 60 | 6 | 155 | 0 | 0.6 | 6.1 | — | 6 years ago | |
| graham-campbell/core-api | 0.84 | Core API provides a lightweight foundation for building APIs in Laravel, offering reusable interfaces, traits and helpers that keep endpoint development consistent, structured and easy to extend. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| vormkracht10/laravel-permanent-cache | 0.84 | A Laravel package for permanent caching: keep data in the cache indefinitely without expiration. Useful for settings, configuration, and other rarely changing values you want stored persistently. Integrates with Laravel's native cache system through a simple API. | 6 | 6 | 0 | 16 | 0 | 4.6 | 7.4 | MIT | 9 months ago |
How can I help you explore Laravel packages today?