Libraries tagged by casting

tommyknocker/struct

3 Favers
10 Downloads

Map external arrays and JSON into validated PHP DTOs and explicit outbound payloads

Go to Download


mkd/laravel-state-management

5 Favers
7 Downloads

a state management package for Laravel, enabling shared and persistent application state across services, requests, and files without the need for reinitialization. It supports casting, default state handling, and custom methods for managing complex state in your Laravel applications

Go to Download


eurym3d0n/elephenv

0 Favers
5 Downloads

A strictly typed PHP environment loader with validation, type inference, integrity checks, and structured error rendering.

Go to Download


entelisteam/lbaf-reflection

0 Favers
43 Downloads

Lightweight PHP reflection utilities: enum helper, type caster, short class name resolver, cached method parameter lookup.

Go to Download


tailflow/dto

4 Favers
312 Downloads

A simple and lightweight implementation of Data Transfer Objects (DTO) in Laravel with optional casting support.

Go to Download


sfneal/casts

0 Favers
60423 Downloads

An alternative implementation of the Eloquent Model accessors & mutators pattern for type casting attributes

Go to Download


qphpstorage/qphpstorage

4 Favers
12 Downloads

A simple wrapper around swoole4 table storage, with casting.

Go to Download


pixiaoka/orm

0 Favers
4 Downloads

Annotation-driven Active Record ORM for PHP 8.3+. Zero framework dependency. PDO based. Supports composite primary keys, strict type casting at the boundary, dirty tracking, lifecycle hooks, row cache, transactions, coroutine-safe sessions.

Go to Download


ntzm/strict-casts

20 Favers
7 Downloads

Strict type casting for super defensive PHP

Go to Download


mass6/flexible-dto

1 Favers
4123 Downloads

Data transfer object with validation and value casting

Go to Download


lemax10/laravel-enums

4 Favers
1915 Downloads

Simple Enum implementation for Laravel. With ability to casting for Eloquent models and labels translations via lang files.

Go to Download


koda/koda

0 Favers
33746 Downloads

Utility classes for analyse code and invoking callables with verification of arguments and type casting

Go to Download


kariricode/dotenv

0 Favers
27 Downloads

The only PHP dotenv with auto type casting, AES-256-GCM encryption, OPcache caching, fluent validation DSL, environment-aware loading, and CLI tooling — zero dependencies, PHP 8.4+, ARFA 1.3.

Go to Download


jalet/util-sprintf

6 Favers
29068 Downloads

PHP's sprintf for named params with type casting.

Go to Download


esperecyan/webidl

0 Favers
8529 Downloads

Provides the utility class for casting a given value in accordance with WebIDL (Web IDL) type to help with PHP type declarations. / WebIDL (Web IDL) の型に沿うように、与えられた値をキャストするユーティリティクラスを提供し、PHP の型宣言を補助します。

Go to Download


<< Previous Next >>