
Front end of a Laravel 9 online hotel booking platform, with room listings, cart and checkout, PayPal and Stripe payments, admin panel for managing rooms, bookings, and site settings.
Install the gem software, launch the installer, and use the gem control panel to start Apache and MySQL, then manage databases via localhost and the my admin interface.
Shift between php versions in xampp by downloading portable versions, swapping the apache and php folders, renaming them, restarting the server, and verifying the active version with a test file.
Learn how to shift between PSP versions by installing different PSP versions, selecting the current version, and restarting services to verify the active PSP version.
Install gem on Mac, enable Apache and MySQL, verify phpMyAdmin, open a VS Code project folder, create index.psp, and test the local server at localhost.
download and install the free version of MAMP on macOS, then configure ports to run Apache and phpMyAdmin for local database development.
Explore popular PHP code editors and learn why Visual Studio Code stands out for its lightweight design and extensive extensions, with guidance on installation and essential extensions.
Download and install Visual Studio Code from the official site by choosing the Windows installer. Launch the editor, get started, and work with your project folder.
learn how to enable autosave in VS Code, including saving with ctrl+s and configuring autosave after delay to automatically save edits as you type.
Explore how to use and install extensions in Visual Studio Code, with Python, Jupyter, HTML, CSS extensions, and learn how to manage installed extensions and color schemes.
Locate the code editor's settings JSON in Windows roaming under the user folder, then save changes to that file. Back up by zipping settings.json to restore after reinstall.
Learn to create and use code snippets in the editor, defining prefix, body, and description to insert reusable HTML and other code blocks across files.
Install the Bootstrap 5 extension and explore five quick snippets to add accordions, tables, cards, and forms, enabling fast, Bootstrap 5 styled components in a Laravel 9 hotel booking platform.
Install the auto rename tag extension, then rename opening tags like h2 to h3 and have the closing tag update automatically, reducing coding time.
Install the VS Code great icons extension, explore the material icons option, and apply icons to the explorer items to see blue folder icons and JavaScript icons in action.
Install the live server extension in the base code editor. Right-click an HTML file and select open with live server to run a local server and preview the page.
Install and use the live server preview extension to enable automatic, real-time updates of your sample login page as you edit fields like email and password.
Install and use the Laravel snippets extension to streamline coding, explore the Laravel folder and web root, and learn snippet-driven tasks like boot, post, and resource redirects.
Install and use the extension laravel blade spacer to automate spacing in blade templates, demonstrating its integration with resources/views and the blade syntax.
learn how to install a laravel extension that enables go-to-controller navigation, create a student controller with an index method using artisan, and jump to controller functions quickly by ctrl-clicking.
Open a new terminal to run Laravel commands and start the server; use the terminal or Git Bash to create a model in the models folder and explore commands.
Enable settings sync to automatically save changes online, including settings, extensions, and preferences, after signing in with Microsoft or GitHub; your configurations sync to new devices when you sign in.
Understand the model-view-controller structure, where the controller processes input, retrieves data from the model, and renders it via the view, with Laravel enabling easy maintenance and issue-friendly URLs.
Install composer on Windows to use a dependency manager for programming languages, import packages into projects, and manage updates and package installations with the command line.
Install composer on macOS using homebrew, verify the installation, and configure composer for a Laravel 9 online hotel booking project.
Install laravel on your computer using composer, select a version, create the project folder, and then run the development server from the public folder to view the app.
Explore the Laravel folder and file structure, including app, controllers, middleware, models, and config, and see how database, migrations, and seeders support the framework’s MVC architecture.
Learn to create and use controllers in a fresh Laravel setup, define routes, return views, and pass parameters to render dynamic pages like home, about, and profile.
Explore Blade syntax and directives, pass data from a student controller to views, and use loops, conditionals, and escaping in a fresh Laravel 9 setup.
Implement a price middleware as root middleware and invoke it on specific routes. Test with the about and contact routes, noting redirects when price thresholds are exceeded.
Group routes using prefixes and middleware in Laravel, create location grouped routes like city and country, apply price middleware, and name routes for easy access with dot notation.
Master database migration with Laravel: create and modify tables, add and remove columns, and manage migrations with up and down methods, rollback, and refresh.
Learn how to insert data into a Laravel 9 database using raw SQL, creating a students table with name, email, and phone, and inserting rows via a controller and route.
Master raw sql joins in Laravel by joining the students table with the fees table, using migrations, a controller, and a view to display joined data.
Learn to insert data into a Laravel database using the query builder, including creating migrations, a controller, and using DB::table('students')->insert(...) to add records.
Update database records using the code builder in a Laravel 9 context by modifying a record with an ID condition, demonstrating updating a name field and verifying the change.
Learn to delete data with Laravel 9's query builder by specifying table and id with a where clause, via a delete function in the student controller, and verify record removal.
Insert data into a database using Laravel's Eloquent ORM in a fresh Laravel setup, creating migrations, a student model, and a controller route to persist records with timestamps.
Explore the Laravel Eloquent one-to-one reverse relationship by defining a belongsTo relation in the phone model, using student_id as the foreign key to connect to the student.
Build a Laravel crud app by setting up migrations and student model. Implement a form with validation and error messages, insert data with eloquent, and display a session success alert.
Fetch all students in the Laravel student controller index and display them in a dynamic table using compact, with name, email, and edit or delete actions including confirmation.
Demonstrate updating a single record in a Laravel CRUD app by building an edit view, passing the record ID, and saving changes with validation and a success redirect.
Demonstrates a Laravel 9 CRUD delete operation for an online hotel booking platform: confirm deletion via popup, pass the item id, delete the record, and redirect back with success message.
Master uploading and validating images in a Laravel CRUD flow, including multipart forms, image type and size validation, saving to public/uploads, and displaying the photo in the view.
Delete the related photo file when removing a database row, unlinking it from the atlas folder. Implement the check, remove the file, and update the UI to reflect the deletion.
Learn how soft delete in Laravel marks records with a deleted_at timestamp, how to enable it via migrations and the SoftDeletes trait, and how to restore them.
Learn to create reusable helper functions in Laravel by adding a helpers.php file, autoloading it with composer, and calling getResult from controllers and routes.
Seed thousands of posts with Faker using a post factory linked to a model, creating 50 posts with titles, descriptions, and photos uploaded to public/upload.
Learn a basic single-user authentication in Laravel, including registration with email verification, login, forget password, and a dashboard, using migrations and simple views for home, login, and registration.
Develop a registration submit flow, create and save a user with hashed password, generate an activation token, send a verification email, and complete registration via the verify link.
Demonstrates a single-user authentication flow in Laravel 9, including a login form, web guard validation and logout handling, an active status check, and dashboard access.
Learn to implement a Laravel reset password flow from route creation and token validation to form handling, email token passing, and updating the user password securely.
Explore implementing multi authentication with a users table, using a role field to distinguish admin and user access. Demonstrate admin-only settings and role-based navigation in a Laravel hotel booking platform.
Implement multi authentication with different guards and tables to securely manage user and admin access, control dashboards, and enforce redirects and access restrictions.
Build a Bootstrap 5 admin panel HTML template. Utilize date picker and time picker, color picker, text editor, photo uploader, data tables, login with forget password and password reset link.
Install Laravel 9 for the admin panel, verify bsp version at least 8, install with composer create-project, then create the admin panel database and update .env.
Build an admin layout for Laravel 9 hotel booking by creating an admin folder, dashboard controller, routes, and asset loading in the master template with heading and main content sections.
Create and configure an admin middleware in Laravel 9 to protect the admin routes, reusing the authenticate middleware, register it in the kernel, and connect to the admin login route.
Create a default admin by manually inserting admin data in phpMyAdmin, secure the password with Laravel's hashing, and prepare the login flow to manage admin details.
Set up the application's email by creating a mail class and view, configuring mailtrap SMTP in the mailer, and sending the email from the admin login controller.
Explore the hotel booking front end built with Bootstrap 5, featuring room types, room details, cart and checkout flows, and PayPal or Stripe payment integration.
In this course, I have taught the students the Laravel framework from scratch. After showing all the basics of Laravel, authentication system, template mastering etc., I have developed a complete Online Hotel Booking Application with Laravel 9.
The persons who are very beginner in Laravel and only have few php and oop idea, they will be benefitted the most from this course. But the advanced persons will also get help from this course, because I have coded following the standard and showed some advanced features.
Admin Panel Features:
Admin can create, edit and delete Customers.
Admin can change logo
Admin can change favicon
Admin can change top bar information.
Admin can control the home page information.
Admin can create, edit and delete hotel rooms.
Admin can create, edit and delete FAQs.
Admin can create, edit and delete photos for the photo gallery.
Admin can create, edit and delete photos for the video gallery.
Admin can create, edit and delete the social items.
Admin can send email to subscribers.
Admin can change his own photo, information and password.
Customer Features
1. Customer can change his own photo, information and password.
2. Customer can book hotel rooms.
3. Customer can make payment using PayPal and Stripe.
4. Customer can make registration in this website for free.
5. Customer can see orders.
6. Customer can print the invoice.