Giovanni Pace
Let's build the first two methods of a Laravel in-memory REST API: index, which returns the full list, and show, which retrieves a single record by ID — all logic in PHP arrays with no database.