Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

How to Upload files or Documents in Mysql Database Using laravel.

Step: 1- First of all you have to go:-

Step:2- then right-click in this Drive and got to Git Bas Here and click.

Step:3-run the composer

step: 4- write the project name. then press Enter. it will take time for this run this project


Step:5- The next step go to inside the project folder and click the Git base Here and write php artisan serve . and Enter

And copy the url like that: http://127.0.0.1:8000/ run this url in the web browser.

Step:6- see the pic

Step:7- now we need to create a File model.

Step:8- migrations using the following command.

Step:9– Create the file table.

Step:9-  File.php, write the following code.

Step:10- Now, define the Relationship inside the User.php model.

Step:11- php artisan make:controller FileController. run this command in composer.

Step:12- Create a View and Route for uploading files.

Step:13- home.blade.php create this page

Step:14- you need to define the Post route inside routes >> web.php file.

you can see the page view.

Step:15- Storing the form data.

Also, we need to update our view to see the flash message.

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.