Laravel

Policies

Creating a Motorbike Policy

Policies are classes are used to handle authorisation checks related to Eloquent models. I will be making a policy for Create, Read, Update and Delete (CRUD) operations on the motorbikes table.

Read
Controllers

Creating a Motorbike Controller

Following the Laravel docs, I created a controller for the Motorbike listings

Read
Routes

Laravel Routes

In Laravel, routes serve as a crucial component for defining the entry points of your web application. They determine how HTTP requests should be handled and which controllers or closures should respond to them

Read
Models

Creating a Motorbike Listings Page

The creation of a motorbike listings page was both an exciting and educating journey.

Read