Henestrosa.dev
  • Inicio
  • Blog
ENEnglish

Blog

ArtículosCategoríasEtiquetas

Etiqueta · #Laravel

  • How to use whenLoaded in Laravel API Resources29 mar 2024

    How to use whenLoaded in Laravel API Resources

    An Eloquent API resource in Laravel is a class that allows you to transform your Eloquent models and model collections into a JSON format suitable for API responses. It provides a convenient way to shape the output of your model data, making it easier to control what data is exposed and how it's structured in your API responses.

    ↗

© 2026 José Carlos López Henestrosa

No rastreo ni anuncios.