Libraries tagged by cast json
jessarcher/laravel-castable-data-transfer-object
725653 Downloads
Automatically cast JSON columns to rich PHP objects in Laravel using Spatie's data-transfer-object class
zakirullin/mess
32552 Downloads
Convenient array-related routine & better type casting
morrislaptop/laravel-popo-caster
657954 Downloads
Automatically cast JSON columns to rich PHP objects in Laravel using Symfony's Serializer
tommyknocker/pdo-database-class
6316 Downloads
Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.
novius/laravel-json-casted
7024 Downloads
A package to cast json fields, each sub-keys is castable
ghanuz/relations
5764 Downloads
To create a Eloquent relationships with comma separated foreign key or using a FIND_IN_SET mysql function.
zakirullin/typed-accessor
6 Downloads
Convenient array-related routine & better type casting
simplon/helper
101654 Downloads
Helpers for recurring requirements
think.studio/laravel-json-field-cast
201 Downloads
Cast json field to custom object.
oguzhankrcb/auto-casting-json-resource
2 Downloads
This Laravel package automatically casts your JsonResource data using the casting functions you have defined before.
coder-at-heart/object-models
2041 Downloads
Add schema, control and cast php json as objects and arrays for Laravel projects
tailflow/castable-dto
29540 Downloads
Automatically cast JSON columns to PHP objects in Laravel using Spatie's data-transfer-object class
stahiralijan/request-caster
94 Downloads
This package intercepts Laravel Form Submits after successful validation and provides useful function and also casts the submitted form data accordingly e.g. Upper-case first Characters of Words, Capitalized them, and checkbox value "1" to boolean, JSON string to PHP Array conversions etc.
drupal-eca-recipe/eca_lib_0049
6 Downloads
Adds an AI-powered button to the Event node form. "Extract the event details" sends the node title and the description to a chat model with a strict JSON schema and fills the compound Event details field, a Custom Field whose columns hold the venue, the city, the capacity, the ticket price, whether the event is online, a contact address and a registration link. Custom Field columns are defined by the site builder, so the mapping the fill action returns is keyed by those column names, and the typed columns cast the strings the schema asks for. After applying the recipe, select a chat model that supports structured output in the chat action. Requires ECA Field Widget Actions 1.0.x-dev at or after commit c7c3edb, because both the compound fill and the recognition of the custom_field field type are unreleased. The recipe ships the Event content type with its Event details field.
yonchando/laravel-cast-attributes
139 Downloads
Laravel model cast json columns to class object