let statement makes it possible to declare block-specific variables.
ReadWe can sort of think controller as the man in the middle, Controller receives a request, and ask the model for data, then present it to view to render on the screen.
ReadEloquent is the ORM (Object Relational Mapper) in Laravel, it is a way that you can work with a database with simple syntax instead of writing long queries.
Read