Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ The `app` directory in a Laravel project houses the core logic of your applicati

Visit the following resources to learn more:

- [@official@App directory](https://laravel.com/docs/12.x/structure#the-root-app-directory)
- [@official@App directory](https://laravel.com/docs/structure#the-root-app-directory)
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Artisan Console

Artisan is the command-line interface (CLI) included with Laravel. It provides a number of helpful commands that can assist you while building your application. These commands can automate repetitive tasks, generate boilerplate code, interact with your database, and perform other useful functions, ultimately streamlining the development process.
Artisan is the command-line interface (CLI) included with Laravel. It provides a number of helpful commands that can assist you while building your application. These commands can automate repetitive tasks, generate boilerplate code, interact with your database, and perform other useful functions, ultimately streamlining the development process.

Visit the following resources to learn more:

- [@official@Artisan](https://laravel.com/docs/artisan)
- [@article@Laravel - Artisan Console](https://www.tutorialspoint.com/laravel/laravel_artisan_console.htm)
- [@article@Laravel commands: Top Artisan commands to know and how to create them](https://www.hostinger.com/tutorials/laravel-commands)
- [@video@Getting Started with Artisan Commands in Laravel | Learn Laravel The Right Way](https://www.youtube.com/watch?v=gw7O8P0J1jE)
- [@video@Basic Artisan Commands | Laravel For Beginners | Learn Laravel](https://www.youtube.com/watch?v=u5AgUYbEWFE)
10 changes: 9 additions & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Authentication in Laravel

Authentication is the process of verifying the identity of a user. It involves confirming that a user is who they claim to be, typically by checking their credentials (like a username and password) against stored records. Laravel provides built-in tools and features to simplify this process, making it easier to secure your application and control access to protected resources.
Authentication is the process of verifying the identity of a user. It involves confirming that a user is who they claim to be, typically by checking their credentials (like a username and password) against stored records. Laravel provides built-in tools and features to simplify this process, making it easier to secure your application and control access to protected resources.

Visit the following resources to learn more:

- [@official@Authentication](https://laravel.com/docs//authentication#main-content)
- [@article@Laravel Authentication: Getting Started and HTTP Auth Tutorial](https://frontegg.com/blog/laravel-authentication)
- [@article@Understanding Laravel Authentication: Best Practices and Tips](http://medium.com/@aiman.asfia/understanding-laravel-authentication-best-practices-and-tips-cf00bcb894a4)
- [@video@Laravel Authentication Tutorial #1 - Intro & Setup](https://www.youtube.com/watch?v=3JBmbQsR0ag)
- [@video@Build Laravel Login & Registration from Scratch](https://www.youtube.com/watch?v=QtKZxNNPT_U)
9 changes: 8 additions & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Authorization

Authorization is the process of determining whether a user has permission to access a specific resource or perform a particular action. It verifies if an authenticated user is allowed to do what they are attempting to do within an application. This involves checking the user's roles, permissions, and policies against the requested resource or action.
Authorization is the process of determining whether a user has permission to access a specific resource or perform a particular action. It verifies if an authenticated user is allowed to do what they are attempting to do within an application. This involves checking the user's roles, permissions, and policies against the requested resource or action.

Visit the following resources to learn more:

- [@official@Authorization](https://laravel.com/docs/authorization#main-content)
- [@article@Mastering Laravel Policies: A Complete Guide to Authorization in Laravel](https://medium.com/@zulfikarditya/mastering-laravel-policies-a-complete-guide-to-authorization-in-laravel-991bbdcc6756)
- [@video@Authorization in Laravel: Can You Do That?](https://www.youtube.com/watch?v=NXt5XqyaaNE)
- [@video@06 - User Authorization in Laravel](https://www.youtube.com/watch?v=v7TgKS8BobI)
9 changes: 8 additions & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Basic Controllers

Controllers are fundamental building blocks in web applications that handle incoming requests and orchestrate the application's response. They act as intermediaries between the user interface (or API endpoint) and the application's data and logic. A controller receives a request, processes it by interacting with models or other services, and then returns a response, such as a view, JSON data, or a redirect.
Controllers are fundamental building blocks in web applications that handle incoming requests and orchestrate the application's response. They act as intermediaries between the user interface (or API endpoint) and the application's data and logic. A controller receives a request, processes it by interacting with models or other services, and then returns a response, such as a view, JSON data, or a redirect.

Visit the following resources to learn more:

- [@official@Basic Controllers](https://laravel.com/docs/controllers#basic-controllers)
- [@article@Controllers](https://www.tutorialspoint.com/laravel/laravel_controllers.htm)
- [@article@How to Use Controllers in Laravel](https://www.inmotionhosting.com/support/edu/laravel/how-to-use-controllers-in-laravel/)
- [@video@Controllers in Laravel: Detailed explanation for beginners](https://www.youtube.com/watch?v=DZmkzV9SJEI)
2 changes: 1 addition & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Routing in Laravel determines how your application responds to client requests.

Visit the following resources to learn more:

- [@official@Basic Routes](https://laravel.com/docs/12.x/routing#basic-routing)
- [@official@Basic Routes](https://laravel.com/docs/routing#basic-routing)
- [@article@Laravel Routing Guide – How to Create Route to Call a View](http://cloudways.com/blog/routing-in-laravel/)
- [@article@Laravel - Routing](https://www.tutorialspoint.com/laravel/laravel_routing.htm)
- [@video@The Basics of Routing in Laravel | Learn Laravel The Right Way](https://www.youtube.com/watch?v=pP4g0xPq0TQ)
7 changes: 6 additions & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Blade and Livewire Integration

Blade is Laravel's templating engine, allowing developers to use simple syntax to create dynamic web pages. Livewire is a full-stack framework for Laravel that enables you to build dynamic interfaces using Laravel and PHP, without writing JavaScript. Combining Blade and Livewire allows you to create interactive and reactive user interfaces with the power and simplicity of Laravel's templating system and the real-time capabilities of Livewire components.
Blade is Laravel's templating engine, allowing developers to use simple syntax to create dynamic web pages. Livewire is a full-stack framework for Laravel that enables you to build dynamic interfaces using Laravel and PHP, without writing JavaScript. Combining Blade and Livewire allows you to create interactive and reactive user interfaces with the power and simplicity of Laravel's templating system and the real-time capabilities of Livewire components.

Visit the following resources to learn more:

- [@official@Supercharging Blade With Livewire](https://laravel.com/docs/blade#supercharging-blade-with-livewire)
- [@official@Livewire](https://livewire.laravel.com/)
9 changes: 8 additions & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Blade Directives

Blade directives are shortcuts to common PHP control structures, like `if` statements and loops, within Laravel's Blade templating engine. They provide a cleaner and more readable syntax for embedding PHP logic directly into your HTML views. Instead of writing verbose PHP code, you can use directives like `@if`, `@foreach`, and `@csrf` to control the flow and output of your templates.
Blade directives are shortcuts to common PHP control structures, like `if` statements and loops, within Laravel's Blade templating engine. They provide a cleaner and more readable syntax for embedding PHP logic directly into your HTML views. Instead of writing verbose PHP code, you can use directives like `@if`, `@foreach`, and `@csrf` to control the flow and output of your templates.

Visit the following resources to learn more:

- [@official@Blade Directives](https://laravel.com/docs/blade#blade-directives)
- [@article@What are blade directives?](https://www.educative.io/answers/what-are-blade-directives)
- [@article@Useful Blade Directives](https://laracasts.com/discuss/channels/laravel/useful-blade-directives)
- [@video@Laravel Tutorial for Beginners #4 - Blade Directives](https://www.youtube.com/watch?v=cNE0HIRpeiU)
11 changes: 10 additions & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Blade Templating

Blade is a simple yet powerful templating engine provided with Laravel. It allows you to use plain PHP in your views, but also offers convenient shortcuts and directives for common tasks like displaying data, looping through arrays, and conditional statements. Blade templates are compiled into plain PHP code and cached, meaning they add essentially zero overhead to your application.
Blade is a simple yet powerful templating engine provided with Laravel. It allows you to use plain PHP in your views, but also offers convenient shortcuts and directives for common tasks like displaying data, looping through arrays, and conditional statements. Blade templates are compiled into plain PHP code and cached, meaning they add essentially zero overhead to your application.

Visit the following resources to learn more:

- [@official@Blade Templating](https://laravel.com/docs/blade#main-content)
- [@article@Laravel - Blade Templates](https://www.tutorialspoint.com/laravel/laravel_blade_templates.htm)
- [@article@Laravel Blade Template Engine: A Beginner's Guide](https://dev.to/icornea/laravel-blade-template-engine-a-beginners-guide-54bi)
- [@article@Laravel Blade Basics](https://www.inmotionhosting.com/support/edu/laravel/laravel-blade-basics/)
- [@video@Laravel 12 – Creating Layouts with Blade for Reusable Templates](https://www.youtube.com/watch?v=gZkpUNVFiYE)
- [@video@Blade templates & Layouts | Laravel 10 Tutorial #7](https://www.youtube.com/watch?v=3UhgEsLxmG8)
2 changes: 1 addition & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Bootstrap in a Laravel project is the initial point where the framework starts i

Visit the following resources to learn more:

- [@official@The Bootstrap Directory](https://laravel.com/docs/12.x/structure#the-bootstrap-directory)
- [@official@The Bootstrap Directory](https://laravel.com/docs/structure#the-bootstrap-directory)
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Route Caching

Route caching in Laravel involves storing the compiled routes in a cache file to significantly reduce the time it takes to register all of your application's routes on each request. Instead of re-parsing route definitions every time, Laravel can quickly load the routes from the cached file, leading to improved application performance, especially in larger applications with many routes. This is particularly beneficial in production environments where route definitions rarely change.
Route caching in Laravel involves storing the compiled routes in a cache file to significantly reduce the time it takes to register all of your application's routes on each request. Instead of re-parsing route definitions every time, Laravel can quickly load the routes from the cached file, leading to improved application performance, especially in larger applications with many routes. This is particularly beneficial in production environments where route definitions rarely change.

Visit the following resources to learn more:

- [@official@Route Caching](https://laravel.com/docs/routing#route-caching)
- [@article@Optimize your app with Route Caching in Laravel](https://medium.com/@harrisrafto/optimize-your-app-with-route-caching-in-laravel-5def92abdd0a)
- [@video@#2: Route Cache | Laravel Performance Tips 🚀](https://www.youtube.com/watch?v=NBVY4e3oQLc)
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Eloquent Casts and Accessors

Eloquent models in Laravel provide a way to interact with your database tables in an object-oriented manner. Casts allow you to modify the data type of an attribute when it's retrieved from or stored in the database. Accessors, on the other hand, let you format or modify attribute values when you access them, providing a convenient way to present data in a specific format without altering the underlying database value.
Eloquent models in Laravel provide a way to interact with your database tables in an object-oriented manner. Casts allow you to modify the data type of an attribute when it's retrieved from or stored in the database. Accessors, on the other hand, let you format or modify attribute values when you access them, providing a convenient way to present data in a specific format without altering the underlying database value.

Visit the following resources to learn more:

- [@official@Eloquent: Mutators & Casting](https://laravel.com/docs/eloquent-mutators#main-content)
- [@article@Eloquent Attribute Casting](https://laravel-news.com/eloquent-attribute-casting)
- [@article@A Beginner’s Guide to use Laravel Casting with Examples](https://bagisto.com/en/a-beginners-guide-to-use-laravel-casting-with-examples/)
- [@video@Laravel Eoquent | Almost every thing about casts #freetopg #laravel #php](https://www.youtube.com/watch?v=n3-n57kIUPc)
- [@video@Eloquent Accessors: Dates, Casts, and "Wrong Way"](https://www.youtube.com/watch?v=t_wtC3qR-n0)
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Components in Laravel

Components are reusable pieces of code that encapsulate HTML, CSS, and logic to create modular and maintainable user interface elements. They allow developers to define custom HTML tags that can be used throughout their application's views, promoting code reuse and consistency. This approach simplifies the process of building complex UIs by breaking them down into smaller, manageable parts.
Components are reusable pieces of code that encapsulate HTML, CSS, and logic to create modular and maintainable user interface elements. They allow developers to define custom HTML tags that can be used throughout their application's views, promoting code reuse and consistency. This approach simplifies the process of building complex UIs by breaking them down into smaller, manageable parts.

Visit the following resources to learn more:

- [@official@Components](https://laravel.com/docs/blade#components)
- [@article@Laravel Fundamentals: Components](https://medium.com/@darshitabaldha2001/laravel-fundamentals-components-f03e8c2874b7)
- [@article@Laravel: Blade Components 101](http://dev.to/ericchapman/laravel-blade-components-5c9c)
- [@video@Become a PRO at Using Components in Laravel](https://www.youtube.com/watch?v=7E76PPoIVW4)
- [@video@Laravel Tutorial for Beginners #6 - Components, Attributes & Props](https://www.youtube.com/watch?v=giMnl4gpZ_I)
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Configuration files in Laravel allow you to manage settings for your application

Visit the following resources to learn more:

- [@official@The Config Directory](http://laravel.com/docs/12.x/structure#the-config-directory)
- [@official@The Config Directory](http://laravel.com/docs/structure#the-config-directory)
11 changes: 10 additions & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Deployment Configuration

Deployment configuration involves setting up the necessary environment variables and settings for your Laravel application to run correctly in a production environment. This includes configuring database connections, cache settings, session drivers, and other environment-specific parameters to ensure optimal performance and security when the application is live.
Deployment configuration involves setting up the necessary environment variables and settings for your Laravel application to run correctly in a production environment. This includes configuring database connections, cache settings, session drivers, and other environment-specific parameters to ensure optimal performance and security when the application is live.

Visit the following resources to learn more:

- [@official@Deployment](https://laravel.com/docs/12.x/deployment#introduction)
- [@article@Deploying Laravel 12: From Local Development to Production Using CI/CD](https://medium.com/@zulfikarditya/deploying-laravel-12-from-local-development-to-production-using-ci-cd-615defdb7827)
- [@article@How to Deploy Laravel Project on a Virtual Private Server](https://www.hostinger.com/tutorials/how-to-deploy-laravel)
- [@video@Deploy Laravel applications fast and cheap](https://www.youtube.com/watch?v=kG8RP6Rk0K8)
- [@video@Laravel Cloud vs. Laravel Forge](https://www.youtube.com/watch?v=I-WGiX-tQF8)
- [@video@10+ Mistakes When Deploying Laravel Project to Production](https://www.youtube.com/watch?v=9gEsqgO05ZE)
6 changes: 5 additions & 1 deletion src/data/roadmaps/laravel/content/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Database Configuration

Laravel simplifies database interaction by allowing you to configure database connections within the `.env` file and the `config/database.php` file. The `.env` file stores sensitive information like database credentials, while `config/database.php` defines the available database connections and their default settings. You can specify the database driver (e.g., MySQL, PostgreSQL, SQLite), host, port, database name, username, and password. Laravel supports multiple database connections, enabling you to interact with different databases within the same application.
Laravel simplifies database interaction by allowing you to configure database connections within the `.env` file and the `config/database.php` file. The `.env` file stores sensitive information like database credentials, while `config/database.php` defines the available database connections and their default settings. You can specify the database driver (e.g., MySQL, PostgreSQL, SQLite), host, port, database name, username, and password. Laravel supports multiple database connections, enabling you to interact with different databases within the same application.

Visit the following resources to learn more:

- [@article@Configuration](https://laravel.com/docs/configuration#main-content)
Loading