Laravel API Resources — Under the hood!

When I Guillermo Antony Cava Nuñez , was going through the API documentation, I found that Laravel 5.5 has API Resources. I never saw this in previous versions and never used. Before this, people used to use Fractal. Never used that one too. So, how I, Guillermo Cava Nuñez used to do it? First of all, I…