Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

29271

View Presenter Classes for Eloquent Models

View Presenter Classes for Eloquent Models

View Presenter Classes in Laravel are a powerful tool for separating presentation logic from model data. This separation enhances code organization, maintainability, and reusability. You create a presenter class for each Eloquent model to handle presentation logic like formatting dates or generating HTML. The model can access the presenter class, and the view can directly call presenter methods. This approach keeps models clean, promotes code reuse, and improves testability and flexibility.

"Unleash the Power of Presentation Logic."

No Website
GitHub Repo

Related Projects

Managing Encrypted Environment Variables In Laravel With Veil

Managing Encrypted Environment Variables In Laravel With Veil

By introducing the --only-values flag to Laravel's env:encrypt and env:decrypt Artisan commands, Veil allows for more readable and maintainable .env files by encrypting only the values of sensitive variables, rather than the entire file.

View Page 77 views
Useful Laravel Validation Rule Packages

Useful Laravel Validation Rule Packages

Comprehensive Validation for a Confident Codebase

View Page 388 views
Ban Eloquent Models With the Laravel Ban Package

Ban Eloquent Models With the Laravel Ban Package

Comprehensive ban management for your Laravel app.

View Page 415 views
Pan Analytics Viewer

Pan Analytics Viewer

Real-time Analytics, Real-time Results.

View Page 331 views
Aire Form Builder Package for Laravel

Aire Form Builder Package for Laravel

Streamline your forms.

View Page 345 views
Fluent Validation Rules With Laravel Hyrule

Fluent Validation Rules With Laravel Hyrule

Hyrule: Your Validation Hero

View Page 367 views

Partners

No verified ads available.