Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Types Laravel Package

tdn/php-types

A small PHP utility for working with types: safely cast values, validate data against expected types, and normalize scalars, arrays and objects. Lightweight and framework-agnostic, it drops easily into Laravel or any Composer project.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
romanzipp/dto 0.88 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 337 1 0.2 19.7 MIT —
View on GitHub
michael-rubel/laravel-value-objects 0.88 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 158 1 2.2 3.8 MIT 1 year ago
View on GitHub
romanzipp/laravel-dto 0.87 A lightweight base class for building Data Transfer Objects in Laravel. Define typed properties, cast nested DTOs and collections, and hydrate from arrays or requests, giving your app predictable, self-validating data objects instead of loose arrays. 11 11 2 128 1 0.3 14.7 MIT —
View on GitHub
dive-be/php-enum-utils 0.86 Utilities for PHP 8.1+ enums in Laravel: convert enum cases to arrays, values, options, and labels for forms and APIs, compare and inspect cases, and cut boilerplate with a small, dependency-free helper set that makes working with native enums painless in everyday application code. 31 — 0 — 0 4.6 — MIT 9 months ago
lstrojny/functional-php 0.86 Functional PHP adds a rich set of functional programming helpers for PHP: map/filter/reduce, partial application, currying, composition, and collections utilities. Write cleaner, more declarative code without changing your framework or coding style. 1,982 1,996 201 60K 8 27.8 27.5 MIT 7 months ago
View on GitHub
Context7
php-tmdb/laravel 0.86 A Laravel wrapper for The Movie Database (TMDB) API that provides a service provider, facade, and configuration for fetching movies, TV shows, actors, and collections. Easily search TMDB and add media-powered features to Laravel apps with familiar syntax. 160 — 61 — 1 2.8 — MIT 8 years ago
nasyrov/laravel-enums 0.86 Laravel Enums adds first-class enumeration support: define typed enum classes, then use them as Eloquent casts, validation rules, and translatable labels. Helpers for values, options, and comparisons make model attributes and form choices safer and more expressive. 32 — 9 — 0 0.7 — MIT 5 years ago
View on GitHub
andydefer/domain-structures 0.86 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 —
View on GitHub
bruli/php-value-objects 0.86 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 —
View on GitHub
cerbero/dto 0.86 Cerbero DTO is a lightweight Laravel/PHP package for creating type-safe data transfer objects from arrays and requests. It supports property casting, validation, nested DTOs, and easy serialization, helping keep application data structured and predictable. 17 19 5 717 0 0.3 22.3 MIT —
View on GitHub
open-southeners/laravel-dto 0.86 — 10 10 1 282 2 18.7 23.2 MIT 6 months ago
View on GitHub
webfox/laravel-backed-enums 0.86 Adds Laravel-friendly helpers to PHP backed enums: generate labels and option lists, validate enum values, and use them cleanly in forms, APIs, and application logic. A lightweight way to make backed enums more practical in Laravel. 44 45 4 404 1 9.2 15.2 MIT 7 months ago
View on GitHub
nicolopignatelli/valueobjects 0.85 Laravel-friendly PHP value objects library that helps you model domain concepts as immutable, self-validating objects (like Email, Money, Url, etc.). Encourages DDD patterns, clearer APIs, and safer data handling with consistent validation and comparison. 0 430 — 0 — 0.0 — — —
View on GitHub
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
View on GitHub
rector/type-perfect 0.85 Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. 105 105 7 403K 0 10.5 43.6 MIT 3 months ago
View on GitHub
Context7
bujanov/dto-bundle 0.85 — 0 0 0 0 0 0.0 — MIT —
View on GitHub
apie/type-converter 0.85 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
View on GitHub
teknoo/immutable 0.85 teknoo/immutable helps PHP and Laravel developers build immutable value objects and data structures, reducing accidental state changes and making code easier to reason about, test, and maintain. Lightweight, framework-agnostic, and simple to drop into existing projects. 4 5 0 12K 0 0.0 46.9 BSD-3-Clause —
View on GitHub
php-ddd/domain-driven-design 0.85 php-ddd/domain-driven-design helps Laravel/PHP developers structure applications around bounded contexts and domain logic, with reusable DDD building blocks and conventions for entities, value objects, aggregates, repositories, services, and domain events. 29 — 4 — 1 0.2 — MIT 11 years ago
php-tmdb/api 0.85 PHP client for The Movie Database (TMDb) API. Search movies, TV shows, people, and collections, fetch details, images, credits, and more via a clean object-oriented wrapper. Useful for Laravel or any PHP app needing TMDb data. 428 435 119 4K 5 16.2 16.3 MIT 4 years ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle