Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

38871

View Presenter Classes for Eloquent Models

View Presenter Classes for Eloquent Models

*View presenter classes* in Laravel separate presentation logic from Eloquent models. They handle formatting and calculations for display, making code cleaner and more testable. You can create custom presenters for each model and access them in views. Popular packages like Laravel Presentable simplify the process. This pattern improves code organization and maintainability by keeping models focused on data.

"Simplify to amplify."

No Website
GitHub Repo

Related Projects

Asserting a JSON Response Structure in Laravel

Asserting a JSON Response Structure in Laravel

Robustness and Maintainability.

View Page 480 views
Improve Debugging Output With Laravel Dumper

Improve Debugging Output With Laravel Dumper

Elevate your debugging experience

View Page 436 views
A Simple Wallet Implementation for Laravel

A Simple Wallet Implementation for Laravel

Basic Wallets Made Easy in Laravel.

View Page 518 views
A Simple Draft and Revision System for Laravel

A Simple Draft and Revision System for Laravel

Draft with Confidence

View Page 502 views
Integrate Cloudflare Turnstile into Laravel and Livewire

Integrate Cloudflare Turnstile into Laravel and Livewire

Frictionless CAPTCHA.

View Page 500 views
Run multiple CLI commands locally at once with Solo for Laravel

Run multiple CLI commands locally at once with Solo for Laravel

Supercharge Your Laravel Projects with Solo.

View Page 363 views

Partners

No verified ads available.