Full Stack Laravel Bootcamp 7 Hours

Laravel is a powerful and elegant PHP framework widely used for building robust and scalable web applications. Renowned for its simplicity and expressive syntax, Laravel streamlines development with features like authentication, routing, caching, and Eloquent ORM for database management. Its scope ranges from crafting simple websites to complex enterprise solutions, offering tools like Blade templating and RESTful controllers to meet modern development demands. Laravel aims to simplify repetitive tasks, allowing developers to focus on functionality and user experience. With its growing popularity and a strong ecosystem, Laravel offers diverse career opportunities, including roles as Laravel Developers, Full-Stack Developers, and Backend Engineers. Its continuous updates and vibrant community make it a promising choice for a successful career in web development.

Cost: NRs. 500/-
Timing: 10AM-5PM (7HRs)
Our Trainer: Binod Raj Dhami (More than 5 years of experience in Software Development)

What will you Learn?

Introduction to Laravel

  • What is Laravel?
    • Overview of Laravel framework.
      • Benefits of using Laravel (MVC architecture, built-in features).
      • Installing Laravel
        • Requirements: PHP, Composer, and a local server (e.g., XAMPP, Laravel Valet).
          • Setting up a new Laravel project (laravel new project-name or composer create-project).
          • Folder Structure Overview
            • Walkthrough of the default Laravel directory structure and key files (routes/web.php, app, - resources/views, config).

            Core Concepts and Routing

            • Routing Basics
              • Creating routes in routes/web.php.
                • Route parameters and naming routes.
                • Controllers
                  • Creating a controller (php artisan make:controller).
                    • Connecting routes to controllers.
                    • Views and Blade Templating
                      • Creating and using Blade templates.
                        • Blade syntax for loops, conditionals, and data rendering.
                        • Hands-On Exercise
                          • Build a simple web page with a controller and dynamic data passed to a Blade view.

                          Database Integration and Eloquent ORM

                          • Database Setup
                            • Configuring .env for database connection.
                              • Using php artisan migrate to create tables.
                              • Eloquent ORM Basics
                                • Creating models (php artisan make:model).
                                  • Performing CRUD operations:
                                    • Create: Model::create()
                                    • Read: Model::all() and Model::find()
                                    • Update: $model->update()
                                    • Delete: $model->delete()
                                • Relationships in Eloquent
                                  • One-to-One, One-to-Many, Many-to-Many relationships.
                                    • Example: Linking users with posts.
                                    • Hands-On Exercise
                                      • Build a basic CRUD application for managing a simple "To-Do List."

                                      Facebook Clone - Posts, Likes, and Comments

                                      • Setup for Facebook Clone
                                        • Create a database migration for users, posts, comments, and likes.
                                          • Define relationships:
                                            • User has many Posts.
                                            • Post has many Comments and Likes.
                                            • Comment belongs to a User and a Post.
                                            • Like belongs to a User and a Post
                                          • Run migrations (php artisan migrate).
                                          • Posts Management
                                            • Create a PostController to handle post creation and listing (php artisan make:controller).
                                              • Blade templates for displaying posts and a form for creating new posts.
                                                • Store posts in the database.
                                                • Likes Functionality
                                                  • Implement Like model and controller.
                                                    • Toggle like/unlike functionality for posts.
                                                      • Update post display to show like counts.
                                                      • Comments Functionality
                                                        • Implement Comment model and controller.
                                                          • Form for adding comments to posts.
                                                            • Display comments below posts using relationships.
                                                            • Hands-On Exercise
                                                              • Build a page that allows users to:

                                                              Wrap-Up and Q&A

                                                              • Discuss further improvements for the Facebook Clone:
                                                                • Pagination for posts and comments.
                                                                  • User authentication for personalized actions.
                                                                    • Real-time updates using Laravel Echo or Pusher.