Tag

Mutators

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Jun 6, 2025 · Backend Development

Master PHP Accessors & Mutators: Boost Data Handling with Real Code Examples

This article explains PHP accessors and mutators, shows how to implement them with practical code, and demonstrates advanced uses such as data validation, range limiting, and caching to create more robust and maintainable backend applications.

AccessorsMutatorsPHP
0 likes · 7 min read
Master PHP Accessors & Mutators: Boost Data Handling with Real Code Examples
php中文网 Courses
php中文网 Courses
Nov 28, 2024 · Backend Development

Comparing PHP 8.4 Property Hooks with Laravel Eloquent Mutators

This article examines PHP 8.4's new Property Hooks feature, compares it with Laravel Eloquent's Mutators, provides implementation examples for both, and offers guidance on when to prefer each approach based on project requirements and performance considerations.

BackendEloquentLaravel
0 likes · 8 min read
Comparing PHP 8.4 Property Hooks with Laravel Eloquent Mutators
Laravel Tech Community
Laravel Tech Community
Sep 5, 2024 · Databases

ThinkORM 2023 Update: New Features, JSON Support, and Bug Fixes for PHP 8.0+

The latest ThinkORM release, now independent from ThinkPHP and requiring PHP 8.0+, introduces extensive JSON handling improvements, new query methods, mutator enhancements, and numerous bug fixes that boost performance and developer experience for PHP database applications.

DatabaseJSONMutators
0 likes · 3 min read
ThinkORM 2023 Update: New Features, JSON Support, and Bug Fixes for PHP 8.0+
php中文网 Courses
php中文网 Courses
Feb 21, 2024 · Backend Development

Deep Dive into Laravel Accessors and Mutators

This article provides an in‑depth exploration of Laravel’s Eloquent Accessors and Mutators, explaining their purpose, demonstrating advanced usage with price conversion, encryption, hashing, and offering practical blog‑model examples such as title casing, excerpt generation, date formatting, slug creation, and email normalization to ensure data integrity.

AccessorsEloquentLaravel
0 likes · 6 min read
Deep Dive into Laravel Accessors and Mutators