MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

Laravel Error:Integrity constraint violation

yesterday : when i am trying to submit data to store in database i got error integrity constraint violation rule because role_id is foreign key and i did not mention this field in user model. Solution: after role_id mention in user model my error got solved https://gist.github.com/rakesh1166-cm/6e233a6d0f51504801713420cb483338#file-users-php

How to Store Multiple Records using Checkbox in Laravel?

First Part: first of all, we will learn how to design or getdata in blade file In table we will set one field default value as no while migrating data test_migration.php In blade file we will create one table Next, in js we will create one fetch function onclick java script function Routing:set route Route::prefix(‘/touroperator’)->group(function … Read more

How to update multiple table rows using single edit button In Laravel Microservice

I have three table package,addimage,iternaries and triptitle is foreign key(common key) for all three table. my requirement is if i update package table using edit button then automatically updated addimage,iternaries table In above figure 3 table package,addimage,iternaries and trip title and trips are foreign key i want to update those row whose triptitle or trips … Read more

How to delete multiple table rows using one delete button In Laravel Microservice

I have three table package,addimage,iternaries and triptitle is foreign key(common key) for all three table. my requirement is if i delete package table using delete buttonthen automatically deleted addimage,iternaries table In above figure 3 table package,addimage,iternaries and trip title and trips are foreign key i want to delete those row whose triptitle or trips name … Read more

How to add multiple image using Laravel Microservice

Step 1: take input image name as array and write multiple in blade file Step 2:store data using ajax Step 3: set routing Route::prefix(‘/touroperator’)->group(function () use ($namespace) { Route::post(‘addimage/{email}’, “$tourcontroller@addsimage”); }); Step 4: In client side controller create function to get access token take a variable as array and pass inside for loop and all … Read more