Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

CodeNathan's avatar

starting out with first project - am i going the right way about this?

Hello Guys I am going to be building my first project however i am still getting my head around the whole concept of the laravel archtecture specially service container / contracts.

I am going to build a booking system for a company where members / partners will hire cars from the company who will have drivers.

here is the structure I have a mind please tell me if I am going about this the right way.

Models :-

(1) Booking , (2)Booking Address, (3) Booking Billing Details, (4) Booking Payments Details

(5)Cars , (6)Car Rates

(7)Members , (8)Partners , (9)Administrator all will extend a (10)Users Class

(11) Drivers, (12) DriverJobLog

I am planning of creating a migrations schema for each line of the above

Controllers : - Booking , Cars , Users

ServiceProviders : - PaymentType - Paypal / Stripe / Sage API etc...

I will have a login page for each type of users where they will only be login from their individual login pages.

Thanks guys

0 likes
1 reply

Please or to participate in this conversation.