mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-03-12 17:51:53 +08:00
chore: sync content to repo
This commit is contained in:
committed by
github-actions[bot]
parent
b99cdda32c
commit
75cc0d3960
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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/)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Cross-Origin Resource Sharing (CORS)
|
||||
|
||||
Cross-Origin Resource Sharing (CORS) is a browser security feature that restricts web pages from making requests to a different domain than the one that served the web page. This policy prevents malicious websites from accessing sensitive data from other sites. CORS defines a way for servers to specify which origins (domains, schemes, or ports) are permitted to access their resources.
|
||||
Cross-Origin Resource Sharing (CORS) is a browser security feature that restricts web pages from making requests to a different domain than the one that served the web page. This policy prevents malicious websites from accessing sensitive data from other sites. CORS defines a way for servers to specify which origins (domains, schemes, or ports) are permitted to access their resources.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Cross-Origin Resource Sharing (CORS)](https://laravel.com/docs/routing#cors)
|
||||
- [@article@Laravel CORS Guide: What It Is and How to Enable It](https://www.stackhawk.com/blog/laravel-cors/)
|
||||
- [@article@Diving into Cross-Origin Resource Sharing](https://laravel-news.com/diving-into-cross-origin-resource-sharing)
|
||||
- [@video@CORS in Laravel & Sanctum](https://www.youtube.com/watch?v=VW5fWPxv7Ak)
|
||||
@@ -4,7 +4,7 @@ To start a new Laravel project, you'll typically use Composer, a dependency mana
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Creating a Laravel Application](https://laravel.com/docs/12.x/installation#creating-a-laravel-project)
|
||||
- [@official@Creating a Laravel Application](https://laravel.com/docs/installation#creating-a-laravel-project)
|
||||
- [@official@Setting up your Laravel project](https://laravel.com/learn/getting-started-with-laravel/setting-up-your-laravel-project)
|
||||
- [@article@A Beginner’s Guide to Setting Up a Project in Laravel](https://www.sitepoint.com/laravel-project-setup-beginners-guide/)
|
||||
- [@video@Laravel Project Setup & Getting Started | Laravel for Complete Beginners | Laravel Tutorial](https://www.youtube.com/watch?v=52WpfAQfgXs)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Creating Responses
|
||||
|
||||
Creating responses in web applications involves generating and sending data back to the client after receiving a request. This data can be in various formats, such as HTML, JSON, or XML, and often includes information requested by the client or the result of an action performed on the server. The response also includes HTTP status codes and headers that provide additional information about the response.
|
||||
Creating responses in web applications involves generating and sending data back to the client in response to a request. This data can be in various formats, such as HTML, JSON, or XML, and often includes information requested by the client or the result of an action performed on the server. The response also includes HTTP status codes and headers that provide additional information about the response.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@HTTP Responses](https://laravel.com/docs/responses)
|
||||
- [@article@Laravel Response Classes](https://laravel-news.com/laravel-response-classes)
|
||||
- [@article@Laravel Response](https://www.w3schools.in/laravel/response)
|
||||
- [@video@Laravel Return Types in API Controller: Five Options?](https://www.youtube.com/watch?v=xC2QzRzefVg)
|
||||
@@ -1,3 +1,10 @@
|
||||
# CRUD Operations in Eloquent ORM
|
||||
|
||||
CRUD operations stand for Create, Read, Update, and Delete. These are the four basic functions of persistent storage, and they represent the fundamental operations performed on data within a database. In the context of Eloquent ORM, CRUD operations are simplified through intuitive methods that allow developers to interact with database tables as if they were working with PHP objects.
|
||||
CRUD operations stand for Create, Read, Update, and Delete. These are the four basic functions of persistent storage, and they represent the fundamental operations performed on data within a database. In the context of Eloquent ORM, CRUD operations are simplified through intuitive methods that allow developers to interact with database tables as if they were working with PHP objects.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Eloquent: Getting Started](https://laravel.com/docs/eloquent)
|
||||
- [@article@How To CRUD (Create, Read, Update, and Delete) With Laravel](https://kinsta.com/blog/laravel-crud/)
|
||||
- [@article@Eloquent Queries - From beginner to advanced techniques](https://laravel-news.com/effective-eloquent)
|
||||
- [@video@Laravel Models - The Basics You Must Know (Eloquent & Query Builder in 10 Minutes)](https://www.youtube.com/watch?v=TdEZcP1JTf8&t=342s)
|
||||
@@ -4,4 +4,4 @@ The `database` directory in a Laravel project houses all files related to your a
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@The Database Directory](http://laravel.com/docs/12.x/structure#the-database-directory)
|
||||
- [@official@The Database Directory](http://laravel.com/docs/structure#the-database-directory)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Debugbar
|
||||
|
||||
Debugbar is a package that provides a convenient toolbar displayed in the browser, offering insights into your application's performance and debugging information. It allows you to inspect things like queries executed, views rendered, routes matched, and other useful data without having to dig through log files or use `dd()` statements extensively. This makes it easier to identify bottlenecks and understand how your application is behaving during development.
|
||||
Debugbar is a package that provides a convenient toolbar displayed in the browser, offering insights into your application's performance and debugging information. It allows you to inspect things like queries executed, views rendered, routes matched, and other useful data without having to dig through log files or use `dd()` statements extensively. This makes it easier to identify bottlenecks and understand how your application is behaving during development.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Debugbar](https://laraveldebugbar.com/)
|
||||
- [@opensource@laravel-debugbar](https://github.com/barryvdh/laravel-debugbar)
|
||||
- [@article@Debugging Laravel Applications with Laravel Debugbar](https://www.inmotionhosting.com/support/edu/laravel/debugging-laravel-applications-with-laravel-debugbar/)
|
||||
- [@video@Laravel Debugbar: 4 Features You May Not Know](https://www.youtube.com/watch?v=YuxXSHKkNJc)
|
||||
@@ -1,3 +1,8 @@
|
||||
# Debugging Basics
|
||||
|
||||
Debugging is the process of identifying and removing errors or defects from software code. It involves systematically testing the code, locating the source of problems, and then correcting them to ensure the software functions as intended. Effective debugging is crucial for producing reliable and maintainable applications.
|
||||
Debugging is the process of identifying and removing errors or defects from software code. It involves systematically testing the code, locating the source of problems, and then correcting them to ensure the software functions as intended. Effective debugging is crucial for producing reliable and maintainable applications.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@How to debug Laravel apps](https://madewithlaravel.com/blog/debugging-in-laravel)
|
||||
- [@video@Laravel 11 Debugging: The Ultimate Guide to Using the Dumpable Trait](https://www.youtube.com/watch?v=4y40zvSifQg)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Dependency Injection
|
||||
|
||||
Dependency Injection is a design pattern where a component receives its dependencies from external sources rather than creating them itself. This promotes loose coupling, making code more modular, testable, and reusable. Instead of a class being responsible for instantiating its dependencies, those dependencies are "injected" into the class, typically through its constructor, setter methods, or interface injection.
|
||||
Dependency Injection is a design pattern where a component receives its dependencies from external sources rather than creating them itself. This promotes loose coupling, making code more modular, testable, and reusable. Instead of a class being responsible for instantiating its dependencies, those dependencies are "injected" into the class, typically through its constructor, setter methods, or interface injection.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Dependency Injection](https://laravel.com/docs/routing#dependency-injection)
|
||||
- [@article@Learn all about Laravel's dependency injection container](https://laravel-news.com/leaning-on-the-container)
|
||||
- [@article@Dependency Injection and Service Container in Laravel](https://www.codemag.com/Article/2212041/Dependency-Injection-and-Service-Container-in-Laravel)
|
||||
- [@video@The Power of Dependency Injection in Laravel: Best Practices for Developers💻](https://www.youtube.com/watch?v=xOxTdXicWd0)
|
||||
- [@video@Why the Laravel Service Container is the Key to Better Dependency Management](https://www.youtube.com/watch?v=8HBQ2-_39VE)
|
||||
@@ -1,3 +1,8 @@
|
||||
# Displaying Data in Laravel Views
|
||||
|
||||
Displaying data in Laravel views involves passing information from your application's logic (controllers) to the view templates, which are then rendered into HTML and presented to the user. This process allows you to dynamically generate web pages with content that changes based on user input, database records, or other application data. Blade, Laravel's templating engine, provides a simple and powerful syntax for embedding PHP code within your HTML, making it easy to display variables, loop through arrays, and perform other data manipulations directly within your views.
|
||||
Displaying data in Laravel views involves passing information from your application's logic (controllers) to the view templates, which are then rendered into HTML and presented to the user. This process allows you to dynamically generate web pages with content that changes based on user input, database records, or other application data. Blade, Laravel's templating engine, provides a simple and powerful syntax for embedding PHP code within your HTML, making it easy to display variables, loop through arrays, and perform other data manipulations directly within your views.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Displaying data](https://laravel.com/docs/blade#displaying-data)
|
||||
- [@article@Laravel | Working with Blade Template Engine](https://magecomp.com/blog/laravel-working-with-blade-template-engine/)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Eloquent ORM
|
||||
|
||||
Eloquent is an Object-Relational Mapper (ORM) that provides a simple and enjoyable way to interact with your database. It allows you to define models that represent database tables, and then use those models to query, insert, update, and delete data without writing raw SQL queries. Eloquent uses an Active Record implementation, meaning each model instance corresponds to a single row in its associated table.
|
||||
Eloquent is an Object-Relational Mapper (ORM) that provides a simple and enjoyable way to interact with your database. It allows you to define models that represent database tables, and then use those models to query, insert, update, and delete data without writing raw SQL queries. Eloquent uses an Active Record implementation, meaning each model instance corresponds to a single row in its associated table.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Eloquent: Getting Started](https://laravel.com/docs/eloquent)
|
||||
- [@article@Mastering Eloquent ORM: A Beginner's Guide to Laravel's Magic 🚀](https://dev.to/icornea/mastering-eloquent-orm-a-beginners-guide-to-laravels-magic-2pj3)
|
||||
- [@article@Eloquent Queries - From beginner to advanced techniques](https://laravel-news.com/effective-eloquent)
|
||||
- [@video@Laravel Tutorial for Beginners #9 - Eloquent Models](https://www.youtube.com/watch?v=0LCAS5WXnL4)
|
||||
@@ -1,3 +1,13 @@
|
||||
# Encryption & Hashing
|
||||
|
||||
Encryption and hashing are fundamental security techniques used to protect sensitive data. Encryption transforms data into an unreadable format using an algorithm and a key, making it unintelligible to unauthorized parties; decryption reverses this process to restore the original data. Hashing, on the other hand, creates a fixed-size, one-way representation (hash) of data, making it suitable for verifying data integrity and storing passwords securely, as the original data cannot be recovered from the hash.
|
||||
Encryption and hashing are fundamental security techniques used to protect sensitive data. Encryption transforms data into an unreadable format using an algorithm and a key, making it unintelligible to unauthorized parties; decryption reverses this process to restore the original data. Hashing, on the other hand, creates a fixed-size, one-way representation (hash) of data, making it suitable for verifying data integrity and storing passwords securely, as the original data cannot be recovered from the hash.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Encryption](https://laravel.com/docs/encryption)
|
||||
- [@official@Hashing](https://laravel.com/docs/hashing)
|
||||
- [@article@How to Encrypt and Decrypt Messages in Laravel](https://www.twilio.com/en-us/blog/developers/community/encrypt-decrypt-messages-laravel)
|
||||
- [@article@Laravel - Encryption](https://www.tutorialspoint.com/laravel/laravel_encryption.htm)
|
||||
- [@article@Laravel - Hashing](https://www.tutorialspoint.com/laravel/laravel_hashing.htm)
|
||||
- [@video@How to Encrypt Database Fields in Laravel?](https://www.youtube.com/watch?v=a6V5Cxk03rk)
|
||||
- [@video@Re-hashed Passwords, Improved Enum Support & Context](https://www.youtube.com/watch?v=8fq6dzLi-2A)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Error Messages in Validation
|
||||
|
||||
Error messages in validation are the feedback provided to users when the data they submit doesn't meet the defined validation rules. These messages inform users about the specific issues with their input, guiding them to correct the errors and successfully submit the form or data. They are crucial for a good user experience, ensuring clarity and ease of use.
|
||||
Error messages in validation are the feedback provided to users when the data they submit doesn't meet the defined validation rules. These messages inform users about the specific issues with their input, guiding them to correct the errors and successfully submit the form or data. They are crucial for a good user experience, ensuring clarity and ease of use.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Working With Error Messages](https://laravel.com/docs/1validation#working-with-error-messages)
|
||||
- [@article@Form Validation and Error Messages](https://laraveldaily.com/lesson/laravel-from-scratch/form-validation-error-messages)
|
||||
- [@article@The ultimate guide to Laravel Validation](https://laravel-news.com/laravel-validation)
|
||||
- [@video@😤Laravel 12 Custom Validation Messages | Display & Customize Error Messages in Laravel | Laravel 12](https://www.youtube.com/watch?v=2uTHfPzyEZ4)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Events and Listeners
|
||||
|
||||
Events and listeners provide a simple observer pattern implementation, allowing you to subscribe to and react to events that occur in your application. An event signifies that something has happened, while listeners are classes that execute specific actions in response to those events. This decoupling of event triggering and handling promotes cleaner, more maintainable code by allowing different parts of your application to communicate without direct dependencies.
|
||||
Events and listeners provide a simple observer pattern implementation, allowing you to subscribe to and react to events that occur in your application. An event signifies that something has happened, while listeners are classes that execute specific actions in response to those events. This decoupling of event triggering and handling promotes cleaner, more maintainable code by allowing different parts of your application to communicate without direct dependencies.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Events](https://laravel.com/docs/events)
|
||||
- [@article@Laravel Events, Listeners and Observers Complete Guide](https://muwangaxyz.medium.com/laravel-events-listeners-and-observers-complete-guide-06196203b2a8)
|
||||
- [@article@Getting Started with Laravel Events and Listeners](https://neon.com/guides/laravel-events-and-listeners)
|
||||
- [@video@Let's talk about Events and Listeners](https://www.youtube.com/watch?v=_8Rrq_RtaB0)
|
||||
- [@video@09 - Events & Listeners](https://www.youtube.com/watch?v=K66ulWMj_O0)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Facades
|
||||
|
||||
Facades provide a "static" interface to classes that are available in the application's service container. Laravel facades allow you to access the underlying object instance of a class registered in the service container as if you were calling static methods on it. This provides a more expressive and readable syntax for interacting with various Laravel components.
|
||||
Facades provide a "static" interface to classes that are available in the application's service container. Laravel facades allow you to access the underlying object instance of a class registered in the service container as if you were calling static methods on it. This provides a more expressive and readable syntax for interacting with various Laravel components.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Facades](http://laravel.com/docs/facades#main-content)
|
||||
- [@article@Learn how to create custom Facades in Laravel](https://laravel-news.com/laravel-facades)
|
||||
- [@article@Laravel - Facades](https://www.tutorialspoint.com/laravel/laravel_facades.htm)
|
||||
- [@video@What in the world is a Facade?](https://www.youtube.com/watch?v=gpn_4tWz1w8)
|
||||
- [@video@What Are Laravel Facades and How Do They Work? | Learn Laravel The Right Way](https://www.youtube.com/watch?v=5LtSVmKx25s)
|
||||
@@ -1,3 +1,11 @@
|
||||
# File Storage
|
||||
|
||||
File storage provides a convenient way to store and retrieve files, whether they are stored locally on the server or in cloud storage services like Amazon S3 or Google Cloud Storage. It offers a unified API for working with different storage systems, allowing you to easily switch between them without modifying your application's code. This system handles tasks like file uploads, downloads, and management, simplifying the process of working with files in your application.
|
||||
File storage provides a convenient way to store and retrieve files, whether they are stored locally on the server or in cloud storage services like Amazon S3 or Google Cloud Storage. It offers a unified API for working with different storage systems, allowing you to easily switch between them without modifying your application's code. This system handles tasks like file uploads, downloads, and management, simplifying the process of working with files in your application.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@File Storage](https://laravel.com/docs/12.x/filesystem)
|
||||
- [@article@Master Laravel File Storage Retrieval in Minutes](https://dev.to/dosenngoding/master-laravel-file-storage-retrieval-in-minutes-4n3g)
|
||||
- [@article@Laravel 12 File Storage](https://kritimyantra.com/blogs/laravel-12-file-storage)
|
||||
- [@video@File Upload in Laravel: Main Things You Need To Know](https://www.youtube.com/watch?v=xN-CF7dzeyM)
|
||||
- [@video@Laravel Storage | let's learn storage by creating a simple file explorer simulator](https://www.youtube.com/watch?v=m9CSLR8EGzM)
|
||||
@@ -1,3 +1,8 @@
|
||||
# File Responses in Laravel
|
||||
|
||||
File responses in Laravel provide a way to send files, such as images, PDFs, or documents, directly to the user's browser for download or display. This functionality allows you to serve files stored on your server's filesystem to users, enabling features like downloading reports, displaying images, or providing access to other file-based resources. Laravel offers convenient methods to handle the necessary headers and file streaming for efficient and secure file delivery.
|
||||
File responses in Laravel provide a way to send files, such as images, PDFs, or documents, directly to the user's browser for download or display. This functionality allows you to serve files stored on your server's filesystem to users, enabling features like downloading reports, displaying images, or providing access to other file-based resources. Laravel offers convenient methods to handle the necessary headers and file streaming for efficient and secure file delivery.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Files](https://laravel.com/docs/requests#files)
|
||||
- [@official@File Responses](https://laravel.com/docs/12.x/responses#file-responses)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Form Validation
|
||||
|
||||
Form validation is the process of ensuring that user-submitted data in a form meets specific criteria before it's processed or stored. This involves checking for required fields, verifying data types (like email or number), and ensuring data conforms to specific formats or constraints. Effective validation helps prevent errors, maintain data integrity, and improve the overall user experience by providing immediate feedback on incorrect or missing information.
|
||||
Form validation is the process of ensuring that user-submitted data in a form meets specific criteria before it's processed or stored. This involves checking for required fields, verifying data types (like email or number), and ensuring data conforms to specific formats or constraints. Effective validation helps prevent errors, maintain data integrity, and improve the overall user experience by providing immediate feedback on incorrect or missing information.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Form Request Validation](https://laravel.com/docs/validation#form-request-validation)
|
||||
- [@article@Laravel Form Request Validation: A Complete Guide on Data handling](https://medium.com/@prevailexcellent/laravel-form-request-validation-a-complete-guide-on-data-handling-1f181a74123f)
|
||||
- [@article@Data Validation in Laravel: Convenient and Powerful](https://kinsta.com/blog/laravel-validation/)
|
||||
- [@article@The ultimate guide to Laravel Validation](https://laravel-news.com/laravel-validation)
|
||||
- [@video@Validate That Data (A 3 Minute Overview of Validation in Laravel)](https://www.youtube.com/watch?v=Pj9nSAJrF6E)
|
||||
@@ -1,3 +1,9 @@
|
||||
# Authorization Gates
|
||||
|
||||
Authorization gates provide a way to control access to specific resources or actions within your application. They are essentially closures that determine if a user is authorized to perform a given action. You define these gates with a name and a callback function that receives the authenticated user as an argument, allowing you to implement custom authorization logic based on user roles, permissions, or any other criteria.
|
||||
Authorization gates provide a way to control access to specific resources or actions within your application. They are essentially closures that determine if a user is authorized to perform a given action. You define these gates with a name and a callback function that receives the authenticated user as an argument, allowing you to implement custom authorization logic based on user roles, permissions, or any other criteria.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Gates](https://laravel.com/docs/authorization#gates)
|
||||
- [@article@Laravel Gates: A Rapid Introduction.](https://www.twilio.com/en-us/blog/developers/community/rapid-introduction-laravel-gates)
|
||||
- [@video@Laravel 11 Full Course 2025: Authorization with Policies & Gates [Lesson #8]](https://www.youtube.com/watch?v=tJANVX2IhkM)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Global vs. Route Middleware
|
||||
|
||||
Global middleware runs on every HTTP request entering your application. Route middleware, on the other hand, is only applied to specific routes or groups of routes that you define. This allows for more granular control over which middleware is executed for different parts of your application.
|
||||
Global middleware runs on every HTTP request entering your application. Route middleware, on the other hand, is only applied to specific routes or groups of routes that you define. This allows for more granular control over which middleware is executed for different parts of your application.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Global Middelware](https://laravel.com/docs/middleware#global-middleware)
|
||||
- [@article@How to define global middleware in Laravel 11](https://codecourse.com/articles/how-to-define-global-middleware-in-laravel-11)
|
||||
- [@article@Configuring Middleware in Laravel](https://laravel-news.com/configuring-middleware-in-laravel)
|
||||
- [@article@Laravel Routes and Middlewares: An In-depth Guide](https://medium.com/@dev.muhammadazeem/laravel-routes-and-middlewares-an-in-depth-guide-ccd8c0593aa3)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Handling Exceptions
|
||||
|
||||
Exceptions are unexpected events that disrupt the normal flow of a program's execution. Handling exceptions involves anticipating these potential problems, catching them when they occur, and then gracefully responding to them, preventing the application from crashing and providing informative feedback to the user or logging the error for debugging. This process ensures the application remains stable and user-friendly even when unexpected issues arise.
|
||||
Exceptions are unexpected events that disrupt the normal flow of a program's execution. Handling exceptions involves anticipating these potential problems, catching them when they occur, and then gracefully responding to them, preventing the application from crashing and providing informative feedback to the user or logging the error for debugging. This process ensures the application remains stable and user-friendly even when unexpected issues arise.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Handling Exceptions](https://laravel.com/docs/errors#handling-exceptions)
|
||||
- [@article@Handling Exceptions in Laravel: A Cleaner Method](https://dev.to/timilehin-olusegun/handling-exceptions-in-laravel-a-cleaner-method-57io)
|
||||
- [@article@Advanced error handling in Laravel](https://www.honeybadger.io/blog/advanced-error-handling-in-laravel/)
|
||||
- [@video@Laravel: The BEST way to handle exceptions](https://www.youtube.com/watch?v=0AAg47xygTI)
|
||||
- [@video@Laravel: Avoid Try-Catch In Every Method (What To Do Instead)](https://www.youtube.com/watch?v=eTOScyTCkiY)
|
||||
@@ -1,3 +1,9 @@
|
||||
# Health Route
|
||||
|
||||
A health route is a specific endpoint in an application that provides information about its operational status. It's designed to be easily accessible and quickly indicate whether the application is running correctly and its dependencies are healthy. This allows monitoring systems and load balancers to automatically detect and respond to issues, ensuring high availability and reliability.
|
||||
A health route is a specific endpoint in an application that provides information about its operational status. It's designed to be easily accessible and quickly indicate whether the application is running correctly and its dependencies are healthy. This allows monitoring systems and load balancers to automatically detect and respond to issues, ensuring high availability and reliability.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Health Route](https://laravel.com/docs/12.x/deployment#the-health-route)
|
||||
- [@article@New Laravel 11 Apps Include a Health Check Endpoint](https://laravel-news.com/laravel-11-health-endpoint)
|
||||
- [@article@Laravel Health Checks: Monitor App State in 2025](https://dev.to/arasosman/laravel-health-checks-monitor-app-state-in-2025-heb)
|
||||
@@ -1,3 +1,7 @@
|
||||
# HTTP Exceptions
|
||||
|
||||
HTTP Exceptions are a specific type of exception used to represent HTTP error responses. They allow you to easily return standard HTTP error codes (like 404 Not Found or 500 Internal Server Error) along with a corresponding message and optional headers directly from your application logic. This provides a clean and consistent way to handle errors and communicate them to the client.
|
||||
HTTP Exceptions are a specific type of exception used to represent HTTP error responses. They allow you to easily return standard HTTP error codes (like 404 Not Found or 500 Internal Server Error) along with a corresponding message and optional headers directly from your application logic. This provides a clean and consistent way to handle errors and communicate them to the client.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@HTTP Exceptions](https://laravel.com/docs/errors#http-exceptions)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Conditional Statements in Blade Templates
|
||||
|
||||
Conditional statements, like `if` and `else`, allow you to control the rendering of content in your Blade templates based on certain conditions. This means you can display different parts of your view depending on whether a variable is true, a user is logged in, or any other logical expression you define. These directives provide a clean and readable way to implement logic directly within your HTML markup.
|
||||
Conditional statements, like `if` and `else`, allow you to control the rendering of content in your Blade templates based on certain conditions. This means you can display different parts of your view depending on whether a variable is true, a user is logged in, or any other logical expression you define. These directives provide a clean and readable way to implement logic directly within your HTML markup.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@If Statements](https://laravel.com/docsblade#if-statements)
|
||||
- [@article@Conditional statements in Laravel for Beginners](https://medium.com/@studylearnandfun/conditional-statements-in-laravel-for-beginners-3dbb3f8e9ad4)
|
||||
- [@article@Custom conditionals with Laravel's Blade Directives](https://mattstauffer.com/blog/custom-conditionals-with-laravels-blade-directives/)
|
||||
- [@video@Laravel 10 Fundamental [Part 24] - Blade Directive - if statement](https://www.youtube.com/watch?v=mNpKgiocqtE)
|
||||
@@ -5,7 +5,7 @@ Inertia.js allows you to build single-page applications (SPAs) using server-side
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Inertia](https://inertiajs.com/)
|
||||
- [@article@How To Use Inertia.js in Your Laravel Projects](https://kinsta.com/blog/laravel-inertia/)
|
||||
- [@official@Inertia - Laravel Docs](https://laravel.com/docs/frontend#inertia)
|
||||
- [@opensource@Inertia](https://github.com/inertiajs/inertia-laravel)
|
||||
- [@video@The New Features of Inertia 2.0 in 3 Minutes](https://www.youtube.com/watch?v=I96tyvRdmbA)
|
||||
- [@official@Inertia - Laravel Docs](https://laravel.com/docs/12.x/frontend#inertia)
|
||||
- [@article@How To Use Inertia.js in Your Laravel Projects](https://kinsta.com/blog/laravel-inertia/)
|
||||
- [@video@The New Features of Inertia 2.0 in 3 Minutes](https://www.youtube.com/watch?v=I96tyvRdmbA)
|
||||
@@ -4,6 +4,6 @@ Installing Laravel involves setting up a new project environment where you can b
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Installation](https://laravel.com/docs/12.x/installation)
|
||||
- [@official@Installation](https://laravel.com/docs/installation)
|
||||
- [@article@How To Install Laravel on Windows, macOS, and Linux](https://kinsta.com/blog/install-laravel/)
|
||||
- [@video@How to Easily Install Laravel | Laravel for Complete Beginners | Laravel Tutorial](https://www.youtube.com/watch?v=iBaM5LYgyPk)
|
||||
@@ -1,6 +1,6 @@
|
||||
# Jetstream
|
||||
|
||||
Jetstream is an application scaffolding package for Laravel. It provides a robust starting point for your next Laravel project, including features like user registration, login, email verification, two-factor authentication, session management, API support via Laravel Sanctum, and team management. It's designed to be a complete solution for quickly building modern web applications with authentication and common features already implemented.
|
||||
Jetstream is a scaffolding package for Laravel applications. It provides a robust starting point for your next Laravel project, featuring key functionalities such as user registration, login, email verification, two-factor authentication, session management, API support via Laravel Sanctum, and team management. It's designed to be a complete solution for quickly building modern web applications with authentication and common features already implemented.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
# JSON Responses in Laravel
|
||||
|
||||
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write, and easy for machines to parse and generate. In Laravel, you can easily return JSON responses from your routes or controllers, allowing you to build APIs or provide data to JavaScript-based frontends. This involves converting data, typically arrays or objects, into a JSON string that can be sent as the response body.
|
||||
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write, and easy for machines to parse and generate. In Laravel, you can easily return JSON responses from your routes or controllers, allowing you to build APIs or provide data to JavaScript-based frontends. This involves converting data, typically arrays or objects, into a JSON string that can be sent as the response body.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Json Responses](https://laravel.com/docs/responses#json-responses)
|
||||
- [@official@Streamed JSON Responses](https://laravel.com/docs/responses#streamed-json-responses)
|
||||
- [@article@Laravel Response](https://www.w3schools.in/laravel/response)
|
||||
- [@article@Proper JSON Responses for Laravel API](https://dev.to/bradisrad83/proper-json-responses-for-laravel-api-2jfo)
|
||||
@@ -1,3 +1,13 @@
|
||||
# Laravel Cloud
|
||||
|
||||
Laravel Cloud provides a streamlined platform for deploying and managing Laravel applications. It simplifies the process of setting up servers, configuring databases, and handling deployments, allowing developers to focus on building features rather than managing infrastructure. This typically involves automated provisioning, scaling, and monitoring tools tailored for Laravel applications.
|
||||
Laravel Cloud provides a streamlined platform for deploying and managing Laravel applications. It simplifies the process of setting up servers, configuring databases, and handling deployments, allowing developers to focus on building features rather than managing infrastructure. This typically involves automated provisioning, scaling, and monitoring tools tailored for Laravel applications.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Laravel Cloud](https://cloud.laravel.com/)
|
||||
- [@official@Deploying With Laravel Cloud or Forge](https://laravel.com/docs/deployment#deploying-with-cloud-or-forge)
|
||||
- [@article@Introducing Laravel Cloud](https://laravel-news.com/introducing-laravel-cloud)
|
||||
- [@video@I got my first Laravel Cloud Invoice...](https://www.youtube.com/watch?v=9Q9sW8oFvSM)
|
||||
- [@video@Deploying a NEW Starter Kit to Laravel Cloud in 5 Minutes](https://www.youtube.com/watch?v=nPsWwm-TDjU)
|
||||
- [@video@5 Tools to Estimate Your Laravel Cloud Bill](https://www.youtube.com/watch?v=ujlMw-_XGCA)
|
||||
- [@video@Laravel Cloud vs. Laravel Forge](https://www.youtube.com/watch?v=I-WGiX-tQF8)
|
||||
@@ -4,5 +4,5 @@ Laravel, primarily known as a backend framework, can also be effectively utilize
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Laravel for Frontend](https://laravel.com/docs/12.x/frontend)
|
||||
- [@official@Laravel for Frontend](https://laravel.com/docs/frontend)
|
||||
- [@article@Integrating Laravel with Popular Frontend Frameworks: A Developer's Guide](https://dev.to/elisaray/integrating-laravel-with-popular-frontend-frameworks-a-developers-guide-4625)
|
||||
@@ -1,3 +1,12 @@
|
||||
# Laravel Forge
|
||||
|
||||
Laravel Forge is a web-based platform designed to simplify the deployment and management of PHP applications, particularly those built with Laravel. It automates server provisioning, configuration, and deployment processes, allowing developers to focus on writing code rather than managing infrastructure. Forge supports various cloud providers and offers features like server monitoring, database management, and SSL certificate installation.
|
||||
Laravel Forge is a web-based platform designed to simplify the deployment and management of PHP applications, particularly those built with Laravel. It automates server provisioning, configuration, and deployment processes, allowing developers to focus on writing code rather than managing infrastructure. Forge supports various cloud providers and offers features like server monitoring, database management, and SSL certificate installation.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Laravel Forge](https://forge.laravel.com/)
|
||||
- [@official@Deploying With Laravel Cloud or Forge](https://laravel.com/docs/12.x/deployment#deploying-with-cloud-or-forge)
|
||||
- [@article@Laravel Forge: Control Your PHP Servers With Ease](https://kinsta.com/blog/laravel-forge/)
|
||||
- [@video@Getting Started with Laravel Forge](https://www.youtube.com/watch?v=AGYKgFc0DUQ)
|
||||
- [@video@5 Exciting Features in the New Laravel Forge](https://www.youtube.com/watch?v=XB9Nge72n58)
|
||||
- [@video@Laravel Cloud vs. Laravel Forge](https://www.youtube.com/watch?v=I-WGiX-tQF8)
|
||||
@@ -5,6 +5,6 @@ Laravel Herd is a fast, native Laravel and PHP development environment for macOS
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Laravel herd](https://herd.laravel.com/)
|
||||
- [@official@Installation Using Herd](https://laravel.com/docs/12.x/installation#installation-using-herd)
|
||||
- [@official@Installation Using Herd](https://laravel.com/docs/installation#installation-using-herd)
|
||||
- [@article@Laravel Development using Herd](https://medium.com/@Ashleecooper/laravel-development-using-herd-1da0932b9888)
|
||||
- [@video@How to Install Laravel on Windows with Laravel Herd and MySQL, phpMyAdmin for Beginners](https://www.youtube.com/watch?v=Io0GZLAc5WI)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Layouts in Blade
|
||||
|
||||
Layouts provide a consistent structure for your application's pages. They define the common elements like headers, footers, sidebars, and overall page structure, allowing you to avoid repeating the same HTML code across multiple views. By using layouts, you can create a template that child views can then extend and populate with their specific content, promoting code reusability and maintainability.
|
||||
Layouts provide a consistent structure for your application's pages. They define the common elements like headers, footers, sidebars, and overall page structure, allowing you to avoid repeating the same HTML code across multiple views. By using layouts, you can create a template that child views can then extend and populate with their specific content, promoting code reusability and maintainability.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Building Layouts](https://laravel.com/docs/blade#building-layouts)
|
||||
- [@article@Create Layouts Using Laravel Blade Templating Engine (Step-by-Step for Beginners)](https://www.cloudways.com/blog/create-laravel-blade-layout/)
|
||||
- [@video@https://www.youtube.com/watch?v=3UhgEsLxmG8](https://www.youtube.com/watch?v=mI7GW7xuO-I)
|
||||
- [@video@Blade templates & Layouts | Laravel 10 Tutorial #7](https://www.youtube.com/watch?v=3UhgEsLxmG8)
|
||||
@@ -5,6 +5,6 @@ Livewire starter kits in Laravel provide a pre-configured foundation for buildin
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Laravel Livewire](https://livewire.laravel.com/)
|
||||
- [@official@Livewire - Laravel Docs](https://laravel.com/docs/frontend#livewire)
|
||||
- [@opensource@Livewire](https://github.com/livewire/livewire)
|
||||
- [@video@Laravel Livewire Crash Course #1 - Introduction & Setup](https://www.youtube.com/watch?v=c8pPND7kclg)
|
||||
- [@official@Livewire - Laravel Docs](https://laravel.com/docs/12.x/frontend#livewire)
|
||||
- [@video@Laravel Livewire Crash Course #1 - Introduction & Setup](https://www.youtube.com/watch?v=c8pPND7kclg)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Localization
|
||||
|
||||
Localization is the process of adapting a product or content to a specific target market. This involves translating text, but also adapting other elements like date formats, currency symbols, and cultural references to suit the local audience. The goal is to make the product feel native and relevant to users in different regions.
|
||||
Localization is the process of adapting a product or content to a specific target market. This involves translating text, but also adapting other elements like date formats, currency symbols, and cultural references to suit the local audience. The goal is to make the product feel native and relevant to users in different regions.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Localization](https://laravel.com/docs/localization#main-content)
|
||||
- [@article@Laravel localization: A step-by-step guide with examples](https://lokalise.com/blog/laravel-localization-step-by-step/)
|
||||
- [@video@Laravel Localization Tutorial: Step-by-Step Guide for Multi-Language Apps | Laravel i18n & l10n](https://www.youtube.com/watch?v=SOvHYMN-rw8)
|
||||
- [@video@Intro - Laravel Multi-Language Tutorial ep-01](https://www.youtube.com/watch?v=zhkvXc7wJZE&list=PL6tf8fRbavl0RUNYSOMfl09lXCs5EPmj5&index=1)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Log Stacks and Messages
|
||||
|
||||
Log stacks allow you to send log messages to multiple handlers simultaneously. This provides flexibility in how you manage and store your application's logs, enabling you to route different types of messages to different destinations, such as files, databases, or external services. You can also customize the format and severity level of the messages sent to each handler.
|
||||
Log stacks allow you to send log messages to multiple handlers simultaneously. This provides flexibility in how you manage and store your application's logs, enabling you to route different types of messages to different destinations, such as files, databases, or external services. You can also customize the format and severity level of the messages sent to each handler.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Building Log Stacks](https://laravel.com/docs/logging#building-log-stacks)
|
||||
- [@article@Laravel Logging: Channels and Stacks Explained](https://inspector.dev/laravel-logging-channels-and-stacks-explained/)
|
||||
- [@article@How to Get Started with Logging in Laravel](https://betterstack.com/community/guides/logging/how-to-start-logging-with-laravel/)
|
||||
- [@video@Configuring (and viewing!) logs in Laravel](https://www.youtube.com/watch?v=MGASWCQ6TJ0)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Logging Basics
|
||||
|
||||
Logging is the process of recording events that occur during the execution of a software application. These events, often called logs, provide valuable insights into the application's behavior, helping developers track errors, monitor performance, and understand user activity. Logs typically include timestamps, severity levels (e.g., debug, info, error), and contextual information about the event.
|
||||
Logging is the process of recording events that occur during the execution of a software application. These events, often called logs, provide valuable insights into the application's behavior, helping developers track errors, monitor performance, and understand user activity. Logs typically include timestamps, severity levels (e.g., debug, info, error), and contextual information about the event.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Logging](https://laravel.com/docs/logging#main-content)
|
||||
- [@article@How Logging Works in Laravel Applications](https://www.freecodecamp.org/news/laravel-logging/)
|
||||
- [@article@Laravel Logging: Everything You Need To Know](https://kinsta.com/blog/laravel-logging/)
|
||||
- [@video@Configuring (and viewing!) logs in Laravel](https://www.youtube.com/watch?v=MGASWCQ6TJ0)
|
||||
- [@video@Laravel.log: 8 Tips to Find Things There](https://www.youtube.com/watch?v=OYx7r8BEaUI)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Blade Loops
|
||||
|
||||
Blade directives offer a concise way to work with loops directly within your Laravel views. Instead of using standard PHP loop syntax, Blade provides directives like `@for`, `@foreach`, `@while`, and `@forelse` to iterate over data and display it in your templates. These directives simplify the process of rendering dynamic content based on collections, arrays, or other iterable data structures, making your views cleaner and more readable.
|
||||
Blade directives offer a concise way to work with loops directly within your Laravel views. Instead of using standard PHP loop syntax, Blade provides directives like `@for`, `@foreach`, `@while`, and `@forelse` to iterate over data and display it in your templates. These directives simplify the process of rendering dynamic content based on collections, arrays, or other iterable data structures, making your views cleaner and more readable.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Loops](https://laravel.com/docs/blade#loops)
|
||||
- [@article@Laravel Advanced: Know the sneaky $loop.](https://backpackforlaravel.com/articles/tips-and-tricks/laravel-advanced-know-the-sneaky-loop)
|
||||
- [@article@Using the $loop variable in Laravel](https://medium.com/afrivelle-engineering/using-the-loop-variable-in-laravel-9d22f07eb00b)
|
||||
- [@video@Loops in Blade | Blade Template Basics | Laravel Basics | Laravel](https://www.youtube.com/watch?v=m1BPK6lMvNg)
|
||||
- [@video@Loops & Loop Directives in Laravel | Laravel For Beginners | Learn Laravel](https://www.youtube.com/watch?v=6qlty4eJDgc)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Manual Authentication
|
||||
|
||||
Manual authentication involves directly handling user login and logout processes within your application, giving you complete control over how users are identified and authorized. This approach requires you to manage user credentials, session management, and security measures yourself, rather than relying on built-in Laravel features or packages. It's useful when you need highly customized authentication logic or integration with existing systems.
|
||||
Manual authentication involves directly handling user login and logout processes within your application, giving you complete control over how users are identified and authorized. This approach requires you to manage user credentials, session management, and security measures yourself, rather than relying on built-in Laravel features or packages. It's useful when you need highly customized authentication logic or integration with existing systems.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Manually Authenticating Users](https://laravel.com/docs/authentication#authenticating-users)
|
||||
- [@article@A Comprehensive Guide to Laravel Authentication](https://kinsta.com/blog/laravel-authentication/)
|
||||
- [@article@Manual auth in Laravel: signing in and out](https://dev.to/jeroenvanrensen/manual-auth-in-laravel-signing-in-and-out-30gf)
|
||||
- [@video@Build Laravel Login & Registration from Scratch](https://www.youtube.com/watch?v=QtKZxNNPT_U)
|
||||
@@ -1,3 +1,9 @@
|
||||
# Manual Validation
|
||||
|
||||
Manual validation in Laravel involves directly interacting with the validator class to validate data. Instead of relying on request objects or form requests, you create a validator instance, define the validation rules, and then check if the data passes these rules. This approach provides more control and flexibility, especially when dealing with complex validation scenarios or when validating data outside of a typical HTTP request.
|
||||
Manual validation in Laravel involves directly interacting with the validator class to validate data. Instead of relying on request objects or form requests, you create a validator instance, define the validation rules, and then check if the data passes these rules. This approach provides more control and flexibility, especially when dealing with complex validation scenarios or when validating data outside of a typical HTTP request.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Manually Creating Validators](https://laravel.com/docs/validation#manually-creating-validators)
|
||||
- [@article@Laravel FormRequest vs Manual Validation: Which One Should You Choose?](https://medium.com/@developerawam/laravel-formrequest-vs-manual-validation-which-one-should-you-choose-fac53e1ed17d)
|
||||
- [@article@The ultimate guide to Laravel Validation](https://laravel-news.com/laravel-validation)
|
||||
@@ -1,3 +1,7 @@
|
||||
# Customizing Error Messages
|
||||
|
||||
Error message customization involves tailoring the default error messages displayed to users when validation or other exceptions occur. This allows developers to provide more user-friendly and contextually relevant feedback, improving the overall user experience by guiding them towards correcting errors more effectively. Instead of generic messages, you can display specific instructions or explanations that are easier for users to understand.
|
||||
Error message customization involves tailoring the default error messages displayed to users when validation or other exceptions occur. This allows developers to provide more user-friendly and contextually relevant feedback, improving the overall user experience by guiding them towards correcting errors more effectively. Instead of generic messages, you can display specific instructions or explanations that are easier for users to understand.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Rendering Exceptions](https://laravel.com/docs/errors#rendering-exceptions)
|
||||
@@ -1,3 +1,12 @@
|
||||
# Middleware
|
||||
|
||||
Middleware provides a convenient mechanism for filtering HTTP requests entering your application. Think of it as a series of checkpoints that a request must pass through before reaching your application's core logic. These checkpoints can perform various tasks, such as authenticating users, verifying input data, or even modifying the request before it's handled by your controllers.
|
||||
Middleware provides a convenient mechanism for filtering HTTP requests entering your application. Think of it as a series of checkpoints that a request must pass through before reaching your application's core logic. These checkpoints can perform various tasks, such as authenticating users, verifying input data, or even modifying the request before it's handled by your controllers.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Middleware](https://laravel.com/docs/middleware#main-content)
|
||||
- [@article@Configuring Middleware in Laravel](https://laravel-news.com/configuring-middleware-in-laravel)
|
||||
- [@article@Laravel Middleware](https://www.tutorialspoint.com/laravel/laravel_middleware.htm)
|
||||
- [@article@Middleware in Laravel: Main Things to Know](https://laraveldaily.com/post/middleware-laravel-main-things-to-know)
|
||||
- [@video@What is Middleware ? How to use Middleware in Laravel with Example](https://www.youtube.com/watch?v=DYTJFqALX7o)
|
||||
- [@video@LARAVEL 11 Crash Course for Beginners 2024 | #11 Middleware (Web Developer Path)](https://www.youtube.com/watch?v=FRi9bbQZLkQ)
|
||||
@@ -1,3 +1,12 @@
|
||||
# Database Migrations and Seeders
|
||||
|
||||
Database migrations are like version control for your database schema, allowing you to modify and share the database structure in a structured and organized way. Seeders, on the other hand, are used to populate your database with initial data, such as default user accounts or categories, making it easier to start working with your application. They work together to ensure a consistent and reproducible database setup across different environments.
|
||||
Database migrations are like version control for your database schema, allowing you to modify and share the database structure in a structured and organized way. Seeders, on the other hand, are used to populate your database with initial data, such as default user accounts or categories, making it easier to start working with your application. They work together to ensure a consistent and reproducible database setup across different environments.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Migrations](https://laravel.com/docs/migrations#main-content)
|
||||
- [@official@Seeding](https://laravel.com/docs/seeding#main-content)
|
||||
- [@video@Laravel Tutorial for Beginners #8 - Database Migrations](https://www.youtube.com/watch?v=PgeP3vsWbTc)
|
||||
- [@video@Laravel Tutorial for Beginners #11 - Seeders](https://www.youtube.com/watch?v=tV9Hb0A-lzc)
|
||||
- [@article@A Comprehensive Guide to Laravel Migrations: From Basics to Advanced](https://medium.com/@jaswanth_270602/a-comprehensive-guide-to-laravel-migrations-from-basics-to-advanced-727ead0a18f1)
|
||||
- [@article@Laravel Seeder Generator](https://laravel-news.com/laravel-seeder-generator)
|
||||
@@ -1,3 +1,9 @@
|
||||
# Named Routes
|
||||
|
||||
Named routes provide a convenient way to refer to routes throughout your application. Instead of hardcoding route URIs, you can assign a name to a route and then use that name to generate URLs or redirects. This makes your code more maintainable because if the route URI changes, you only need to update it in one place (the route definition) rather than everywhere it's used.
|
||||
Named routes provide a convenient way to refer to routes throughout your application. Instead of hardcoding route URIs, you can assign a name to a route and then use that name to generate URLs or redirects. This makes your code more maintainable because if the route URI changes, you only need to update it in one place (the route definition) rather than everywhere it's used.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Names Routes](https://laravel.com/docs/routing#named-routes)
|
||||
- [@article@What are Named Routes in Laravel?](https://www.tutorialspoint.com/what-are-named-routes-in-laravel)
|
||||
- [@video@Laravel Tutorial for Beginners #14 - Named Routes](https://www.youtube.com/watch?v=awStsyqYcbc)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Notifications
|
||||
|
||||
Notifications provide a way to alert users about events that occur in your application, such as when a task is completed, a comment is posted, or a new follower is gained. These alerts can be delivered through various channels, including email, SMS, database entries, or even custom channels, allowing for flexible and tailored communication with users. The system typically involves defining notification classes that represent specific events and then sending these notifications to the appropriate recipients.
|
||||
Notifications provide a way to alert users about events that occur in your application, such as when a task is completed, a comment is posted, or a new follower is gained. These alerts can be delivered through various channels, including email, SMS, database entries, or even custom channels, allowing for flexible and tailored communication with users. The system typically involves defining notification classes that represent specific events and then sending these notifications to the appropriate recipients.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Notifications](https://laravel.com/docs/notifications)
|
||||
- [@article@Laravel Notifications: dynamic channels, priority, and delayed sending](https://crnkovic.me/laravel-notifications-on-steroids)
|
||||
- [@article@How to create notifications in Laravel](https://www.honeybadger.io/blog/php-laravel-notifications/)
|
||||
- [@video@Should You Use a Notification or a Mailable?](https://www.youtube.com/watch?v=GGZF9E9mM_E)
|
||||
- [@video@Laravel Notifications: "Database" Driver - Demo Project](https://www.youtube.com/watch?v=5DREuAvFnps)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Octane
|
||||
|
||||
Octane supercharges your Laravel application's performance by serving it using high-powered application servers like Swoole or RoadRunner. Instead of creating a fresh application instance for each request, Octane keeps the application loaded in memory, significantly reducing boot times and overhead. This allows your application to handle a much higher volume of requests with lower latency.
|
||||
Octane supercharges your Laravel application's performance by serving it using high-powered application servers like Swoole or RoadRunner. Instead of creating a fresh application instance for each request, Octane keeps the application loaded in memory, significantly reducing boot times and overhead. This allows your application to handle a much higher volume of requests with lower latency.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Octane](https://laravel.com/docs/12.x/octane)
|
||||
- [@opensource@octane](https://github.com/laravel/octane)
|
||||
- [@article@Laravel Octane – What It Is, Why It Matters & How To Take Advantage Of It](https://runcloud.io/blog/laravel-octane)
|
||||
- [@video@Laravel Octane: supercharge your Laravel applications](https://www.youtube.com/watch?v=YGBvdAWt0W8)
|
||||
- [@video@Make faster outbound requests with Laravel (10x faster, actually)](https://www.youtube.com/watch?v=BWAocgJVCbw)
|
||||
@@ -1,3 +1,8 @@
|
||||
# Optimization
|
||||
|
||||
Optimization, in the context of deployment, refers to the process of refining and improving a deployed application's performance, efficiency, and resource utilization. This involves identifying bottlenecks, reducing resource consumption (like memory and CPU), and enhancing the overall speed and responsiveness of the application to ensure a smooth and scalable user experience in a production environment.
|
||||
Optimization, in the context of deployment, refers to the process of refining and improving a deployed application's performance, efficiency, and resource utilization. This involves identifying bottlenecks, reducing resource consumption (like memory and CPU), and enhancing the overall speed and responsiveness of the application to ensure a smooth and scalable user experience in a production environment.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Optimization](https://laravel.com/docs/deployment#optimization)
|
||||
- [@video@10+ Mistakes When Deploying Laravel Project to Production](https://www.youtube.com/watch?v=9gEsqgO05ZE)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Package Management
|
||||
|
||||
Package management involves using tools to automate the process of installing, updating, configuring, and removing software packages. In Laravel, this is primarily handled by Composer, a dependency manager for PHP. Composer allows you to declare the libraries your project depends on, and it will manage the installation and updating of those dependencies for you, ensuring compatibility and simplifying the process of incorporating external functionality into your Laravel application.
|
||||
Package management involves using tools to automate the process of installing, updating, configuring, and removing software packages. In Laravel, this is primarily handled by Composer, a dependency manager for PHP. Composer allows you to declare the libraries your project depends on, and it will manage the installation and updating of those dependencies for you, ensuring compatibility and simplifying the process of incorporating external functionality into your Laravel application.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Package Development](https://laravel.com/docs/packages)
|
||||
- [@article@Step by Step Guide to Custom Laravel Package Development](https://www.monocubed.com/blog/laravel-package-development/)
|
||||
- [@article@Laravel Package Management: Bundling & Distribution Simplified](https://homeville.tech/laravel-package-management-bundling-distribution-simplified-b2326fa24d39)
|
||||
- [@video@How To Build a Laravel Package 📦](https://www.youtube.com/watch?v=QsA5mdzKXLA)
|
||||
- [@video@How to Create Laravel Package: 4 Free Lessons From the Course](https://www.youtube.com/watch?v=gqYIxv7PXxQ)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Pagination
|
||||
|
||||
Pagination is the process of dividing content into discrete pages, allowing users to navigate through large datasets in a manageable way. Instead of displaying all the data at once, which can be overwhelming and slow down performance, pagination presents the data in smaller, more digestible chunks, typically with navigation controls to move between pages. This improves user experience and reduces the load on the server.
|
||||
Pagination is the process of dividing content into discrete pages, allowing users to navigate through large datasets in a manageable way. Instead of displaying all the data at once, which can be overwhelming and slow down performance, pagination presents the data in smaller, more digestible chunks, typically with navigation controls to move between pages. This improves user experience and reduces the load on the server.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Pagination](https://laravel.com/docs/pagination#main-content)
|
||||
- [@article@A Guide to Pagination in Laravel](https://laravel-news.com/laravel-pagination)
|
||||
- [@article@How to use Pagination in Laravel?](https://bagisto.com/en/how-to-use-pagination-in-laravel/)
|
||||
- [@video@Laravel Tutorial for Beginners #15 - Pagination](https://www.youtube.com/watch?v=tPhp3PunmuU)
|
||||
@@ -1,3 +1,10 @@
|
||||
# OAuth 2.0 API Authentication with Laravel Passport
|
||||
|
||||
Passport is a full OAuth 2.0 server implementation for your Laravel application, providing a secure and standardized way to authenticate users and grant access to your API. It allows users to authorize third-party applications to access their data without sharing their credentials, using tokens to represent authorization. This simplifies the process of building APIs that can be consumed by various clients, such as mobile apps or other web applications.
|
||||
Passport is a full OAuth 2.0 server implementation for your Laravel application, providing a secure and standardized way to authenticate users and grant access to your API. It allows users to authorize third-party applications to access their data without sharing their credentials, using tokens to represent authorization. This simplifies the process of building APIs that can be consumed by various clients, such as mobile apps or other web applications.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Laravel Passport](https://laravel.com/docs/passport#main-content)
|
||||
- [@opensource@passport](https://github.com/laravel/passport)
|
||||
- [@article@Laravel Authentication Using Passport](https://dev.to/anashussain284/laravel-authentication-using-passport-1gkk)
|
||||
- [@video@Getting started with Laravel Passport and OAuth2](https://www.youtube.com/watch?v=PTFPMAX_88s)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Pest Testing Framework
|
||||
|
||||
Pest is an elegant PHP testing framework with a focus on simplicity and developer experience. It provides a clean and expressive syntax for writing tests, aiming to make testing more enjoyable and efficient. Pest builds on top of PHPUnit, leveraging its powerful features while offering a more streamlined and intuitive API.
|
||||
Pest is an elegant PHP testing framework with a focus on simplicity and developer experience. It provides a clean and expressive syntax for writing tests, aiming to make testing more enjoyable and efficient. Pest builds on top of PHPUnit, leveraging its powerful features while offering a more streamlined and intuitive API.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Pest](https://pestphp.com/)
|
||||
- [@article@Mastering Testing in Laravel with Pest PHP: A Comprehensive Guide](https://medium.com/@zulfikarditya/mastering-testing-in-laravel-with-pest-php-a-comprehensive-guide-0d1a599f79f5)
|
||||
- [@article@How to Unit Test a Laravel API with the Pest Framework](https://www.twilio.com/en-us/blog/developers/community/unit-test-laravel-api-pest-framework)
|
||||
- [@article@Laravel for Beginners: PHPUnit and PEST Tests](https://www.luckymedia.dev/blog/laravel-for-beginners-phpunit-and-pest-tests)
|
||||
- [@video@Laravel Testing 21/24: What is PEST and How It Works](https://www.youtube.com/watch?v=4ubp_IF6kqY)
|
||||
@@ -1,3 +1,10 @@
|
||||
# PHPUnit in Laravel Testing
|
||||
|
||||
PHPUnit is a popular testing framework for PHP that allows developers to write and run automated tests for their code. It provides a structured way to define test cases, assertions, and test suites, ensuring that code behaves as expected. In Laravel, PHPUnit is the default testing framework, offering a robust environment for both unit and feature testing.
|
||||
PHPUnit is a popular testing framework for PHP that allows developers to write and run automated tests for their code. It provides a structured way to define test cases, assertions, and test suites, ensuring that code behaves as expected. In Laravel, PHPUnit is the default testing framework, offering a robust environment for both unit and feature testing.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@PHPUnit](https://phpunit.de/)
|
||||
- [@opensource@phpunit](https://github.com/sebastianbergmann/phpunit)
|
||||
- [@article@A Beginner’s Guide to PHPUnit](https://www.browserstack.com/guide/unit-testing-php)
|
||||
- [@video@PHPUnit in Laravel: Simple Example of Why/How to Test](https://www.youtube.com/watch?v=DRhhfy2sG1E)
|
||||
@@ -1,3 +1,9 @@
|
||||
# Pint
|
||||
|
||||
Pint is an opinionated PHP code style fixer. It automatically corrects coding style issues in your PHP code, ensuring consistency and adherence to defined coding standards. It simplifies the process of maintaining a clean and uniform codebase by automatically applying formatting rules.
|
||||
Pint is an opinionated PHP code style fixer. It automatically corrects coding style issues in your PHP code, ensuring consistency and adherence to defined coding standards. It simplifies the process of maintaining a clean and uniform codebase by automatically applying formatting rules.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Laravel Pint](https://laravel.com/docs/pint)
|
||||
- [@article@pint](https://github.com/laravel/pint)
|
||||
- [@video@New Laravel Pint: Code Styling Made Easier](https://www.youtube.com/watch?v=5khyIHIYIK4)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Authorization Policies
|
||||
|
||||
Authorization Policies provide a structured way to define authorization logic for your application. They allow you to encapsulate the rules that determine whether a user is authorized to perform a specific action on a given resource. Instead of scattering authorization checks throughout your controllers and views, policies centralize this logic into dedicated classes, making your code more organized, maintainable, and testable.
|
||||
Authorization Policies provide a structured way to define authorization logic for your application. They allow you to encapsulate the rules that determine whether a user is authorized to perform a specific action on a given resource. Instead of scattering authorization checks throughout your controllers and views, policies centralize this logic into dedicated classes, making your code more organized, maintainable, and testable.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Creating Policies](https://laravel.com/docs/authorization#creating-policies)
|
||||
- [@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)
|
||||
- [@article@What Are Laravel Policies and How to Use Them to Control Access](https://www.twilio.com/en-us/blog/developers/community/what-are-laravel-policies-and-how-to-use-them-to-control-access)
|
||||
- [@video@Laravel Policies: AuthorizeResource and "can:ABC" Usage](https://www.youtube.com/watch?v=Q3YQVEJIQbo)
|
||||
- [@video@Laravel Policies: Add Custom Methods](https://www.youtube.com/watch?v=PO7NXcYcdds)
|
||||
@@ -4,4 +4,4 @@ The `public` directory serves as the document root for your Laravel application.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@The Public Directory](https://laravel.com/docs/12.x/structure#the-public-directory)
|
||||
- [@official@The Public Directory](https://laravel.com/docs/structure#the-public-directory)
|
||||
@@ -1,3 +1,12 @@
|
||||
# Pulse
|
||||
|
||||
Pulse is a real-time monitoring tool designed to provide insights into your application's performance and health. It collects and displays key metrics like slow queries, cache interactions, queue jobs, and server resource usage, allowing developers to quickly identify and address potential bottlenecks or issues. This helps ensure the application remains responsive and performs optimally.
|
||||
Pulse is a real-time monitoring tool designed to provide insights into your application's performance and health. It collects and displays key metrics like slow queries, cache interactions, queue jobs, and server resource usage, allowing developers to quickly identify and address potential bottlenecks or issues. This helps ensure the application remains responsive and performs optimally.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Pulse](https://pulse.laravel.com/)
|
||||
- [@official@Laravel Pulse](https://laravel.com/docs/12.x/pulse#main-content)
|
||||
- [@opensource@pulse](https://github.com/laravel/pulse)
|
||||
- [@article@Announcing Laravel Pulse - A New Performance Monitoring Tool for Laravel Apps](https://laravel-news.com/announcing-laravel-pulse)
|
||||
- [@video@Getting Started with Laravel Pulse 💗](https://www.youtube.com/watch?v=di9fYHxdZ-8)
|
||||
- [@video@Laravel Pulse - Insights and Application Performance](https://www.youtube.com/watch?v=5joyfmCmu-o)
|
||||
@@ -1,3 +1,9 @@
|
||||
# Query Builder
|
||||
|
||||
The Query Builder provides a convenient, fluent interface for creating and running database queries. It allows you to interact with your database without writing raw SQL, offering a more readable and maintainable way to perform common database operations like selecting, inserting, updating, and deleting data. It supports various database systems and protects against SQL injection vulnerabilities.
|
||||
The Query Builder provides a convenient, fluent interface for creating and running database queries. It allows you to interact with your database without writing raw SQL, offering a more readable and maintainable way to perform common database operations like selecting, inserting, updating, and deleting data. It supports various database systems and protects against SQL injection vulnerabilities.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Database: Query Builder](https://laravel.com/docs/queries#main-content)
|
||||
- [@article@Laravel Query Builder: Detailed Guide with Code Examples + Screenshots](https://www.cloudways.com/blog/laravel-query-builder/)
|
||||
- [@video@Laravel Query Builder](https://www.youtube.com/watch?v=5R0tVpkuQ1M&list=PLkyrdyGDWthC-yd9n8R3CEauJC4sFl-kj)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Query Scopes
|
||||
|
||||
Query scopes in Eloquent provide a way to add constraints to all queries of a given model. They allow you to define common sets of query conditions as reusable methods within your Eloquent models. This promotes cleaner, more maintainable code by encapsulating query logic and preventing duplication across your application.
|
||||
Query scopes in Eloquent provide a way to add constraints to all queries of a given model. They allow you to define common sets of query conditions as reusable methods within your Eloquent models. This promotes cleaner, more maintainable code by encapsulating query logic and preventing duplication across your application.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@https://laravel.com/docs/12.x/eloquent#query-scopes](https://laravel.com/docs/eloquent#query-scopes)
|
||||
- [@article@Learn to master Query Scopes in Laravel](https://laravel-news.com/query-scopes)
|
||||
- [@article@Mastering Laravel Scope — A Comprehensive Guide with Code Examples](https://arjunamrutiya.medium.com/mastering-laravel-scope-a-comprehensive-guide-with-code-examples-daa54a4ee633)
|
||||
- [@video@Laravel 12 - Master Query Scopes for Cleaner & Reusable Queries!](https://www.youtube.com/watch?v=BaFeFot0L2U)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Queues & Jobs
|
||||
|
||||
Queues and jobs provide a mechanism to defer the processing of time-consuming tasks, such as sending emails, processing large datasets, or performing complex calculations, to a later time. Instead of executing these tasks immediately within a web request, they are pushed onto a queue. A worker process then retrieves and executes these jobs in the background, freeing up the web server to handle incoming requests more efficiently and improving the application's responsiveness.
|
||||
Queues and jobs provide a mechanism to defer the processing of time-consuming tasks, such as sending emails, processing large datasets, or performing complex calculations, to a later time. Instead of executing these tasks immediately within a web request, they are pushed onto a queue. A worker process then retrieves and executes these jobs in the background, freeing up the web server to handle incoming requests more efficiently and improving the application's responsiveness.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Queues](https://laravel.com/docs/queues)
|
||||
- [@article@Creating Jobs](https://laravel.com/docs/queues#creating-jobs)
|
||||
- [@article@How to Use Queueing in Laravel](https://www.twilio.com/en-us/blog/queueing-in-laravel)
|
||||
- [@article@Laravel Queue Jobs](https://medium.com/@hossamsoliuman/laravel-queue-jobs-4dec9ccf0ae7)
|
||||
- [@video@Queues in Laravel: Main Things You Need to Know (Two Examples)](https://www.youtube.com/watch?v=D5tr7r2_i7E)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Rate Limiting
|
||||
|
||||
Rate limiting is a technique used to control the number of requests a user or client can make to a server within a specific time period. This helps to prevent abuse, protect resources, and maintain the stability and performance of an application by preventing it from being overwhelmed by excessive requests. It essentially sets a threshold for how often a particular action can be performed.
|
||||
Rate limiting is a technique used to control the number of requests a user or client can make to a server within a specific time period. This helps to prevent abuse, protect resources, and maintain the stability and performance of an application by preventing it from being overwhelmed by excessive requests. It essentially sets a threshold for how often a particular action can be performed.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Rate Limiting](https://laravel.com/docs/rate-limiting#main-content)
|
||||
- [@article@Laravel Rate Limiting — Explained with Real-Life Examples](https://backpackforlaravel.com/articles/tutorials/laravel-rate-limiting-explained-with-real-life-examples)
|
||||
- [@article@Implementing API Rate Limiting in Laravel 11](https://apiacademy.treblle.com/laravel-api-course/rate-limiting)
|
||||
- [@video@Exploring Laravel Rate Limiters: Control Traffic & Secure Actions ⛔](https://www.youtube.com/watch?v=5YlJ8DllTFw)
|
||||
- [@video@Laravel API Rate Limiting: Default and Custom Throttle](https://www.youtube.com/watch?v=tNU9nZ7ZqBc)
|
||||
@@ -4,5 +4,5 @@ Redirect routes provide a simple way to create HTTP redirects within your applic
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Redirect Routes](https://laravel.com/docs/12.x/routing#redirect-routes)
|
||||
- [@official@Redirect Routes](https://laravel.com/docs/routing#redirect-routes)
|
||||
- [@article@Route Redirect in Laravel: The Complete Guide](https://larafast.com/blog/route-redirect-in-laravel-the-complete-guide)
|
||||
@@ -1,3 +1,7 @@
|
||||
# Redirects
|
||||
|
||||
Redirects are a way to send a user from one URL to another. They are commonly used after a form submission to prevent resubmitting data, or to guide users to a different part of a website after an action has been completed. A redirect response contains an HTTP status code in the 300 range, indicating that the client should perform another request to a different URL.
|
||||
Redirects are a way to send a user from one URL to another. They are commonly used after a form submission to prevent resubmitting data, or to guide users to a different part of a website after an action has been completed. A redirect response contains an HTTP status code in the 300 range, indicating that the client should perform another request to a different URL.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Redirects Response](https://laravel.com/docs/responses#redirects)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Eloquent Relationships
|
||||
|
||||
Eloquent relationships define how different database tables are connected to each other. They allow you to easily retrieve related data from multiple tables using intuitive methods. For example, a user might have many posts, or a post might belong to a single category. Eloquent supports various relationship types like one-to-one, one-to-many, many-to-many, and polymorphic relationships, enabling you to model complex data structures and retrieve related data with ease.
|
||||
Eloquent relationships define how different database tables are connected. They allow you to easily retrieve related data from multiple tables using intuitive methods. For example, a user might have many posts, or a post might belong to a single category. Eloquent supports various relationship types like one-to-one, one-to-many, many-to-many, and polymorphic relationships, enabling you to model complex data structures and retrieve related data with ease.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Eloquent: Relationships](https://laravel.com/docs/eloquent-relationships)
|
||||
- [@article@Laravel Eloquent Relationships: An Advanced Guide](https://kinsta.com/blog/laravel-relationships/)
|
||||
- [@article@Mastering Laravel Eloquent Relationships: A Complete Guide to Using “with()”](https://medium.com/@zulfikarditya/mastering-laravel-eloquent-relationships-a-complete-guide-to-using-with-b2258c857e44)
|
||||
- [@video@Laravel Eloquent Relationships](https://www.youtube.com/playlist?list=PL1JpS8jP1wgA7YIkG5pJDa0XwvonK-mQR)
|
||||
@@ -4,6 +4,6 @@ In Laravel, the request-response flow begins when a user sends a request to the
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Request Lifecycle](https://laravel.com/docs/12.x/lifecycle)
|
||||
- [@official@Request Lifecycle](https://laravel.com/docs/lifecycle)
|
||||
- [@article@Understanding the Laravel Request/Response Lifecycle: A Simple Guide for Developers](https://chandankshaw.medium.com/understanding-the-laravel-request-response-lifecycle-a-simple-guide-for-developers-e6afdf887a6d)
|
||||
- [@article@Requests and Responses](https://www.fastcomet.com/tutorials/laravel/requests-and-responses)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Resource Controllers
|
||||
|
||||
Resource controllers provide a standardized way to manage CRUD (Create, Read, Update, Delete) operations for a specific model. They group related request handling logic into a single class, making your code more organized and easier to maintain by mapping conventional HTTP verbs (like GET, POST, PUT, DELETE) to specific controller methods. This approach promotes a RESTful architecture for your application.
|
||||
Resource controllers provide a standardized way to manage CRUD (Create, Read, Update, Delete) operations for a specific model. They group related request handling logic into a single class, making your code more organized and easier to maintain by mapping conventional HTTP verbs (like GET, POST, PUT, DELETE) to specific controller methods. This approach promotes a RESTful architecture for your application.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Resource controllers](https://laravel.com/docs/controllers#resource-controllers)
|
||||
- [@article@What is a Resource Controller in Laravel, and what are its Actions?](http://webdew.com/blog/what-is-a-resource-controller-in-laravel?srsltid=AfmBOor4QIQckQzQ4o6EeD_bsn-wsRR87DetunjF-bB6j4rt7QLJaida)
|
||||
- [@article@Simple Laravel CRUD with Resource Controllers](https://www.digitalocean.com/community/tutorials/simple-laravel-crud-with-resource-controllers)
|
||||
- [@video@11 | Laravel Controller Resource Methods Step-by-Step (CRUD Example)](https://www.youtube.com/watch?v=XAwQUUr1obM)
|
||||
@@ -4,4 +4,4 @@ The `resources` directory in a Laravel project is where you store your applicati
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@The Routes Directory](https://laravel.com/docs/12.x/structure#the-routes-directory)
|
||||
- [@official@The Routes Directory](https://laravel.com/docs/structure#the-routes-directory)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Retrieving Data and Files
|
||||
|
||||
When a user interacts with a web application, they often send data to the server through forms or file uploads. Retrieving data involves accessing and using the information submitted by the user, such as form inputs or query parameters. Similarly, retrieving files deals with accessing and processing files that users upload to the server, allowing the application to handle and store these files appropriately.
|
||||
When a user interacts with a web application, they often send data to the server through forms or file uploads. Retrieving data involves accessing and using the information submitted by the user, such as form inputs or query parameters. Similarly, retrieving files involves accessing and processing files that users upload to the server, enabling the application to handle and store these files appropriately.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Retrieving Files](https://laravel.com/docs/filesystem#retrieving-files)
|
||||
- [@article@HTTP Requests](https://laravel.com/docs/requests)
|
||||
- [@video@Laravel and External APIs: Get Data with HTTP Client](https://www.youtube.com/watch?v=oEDDZsmMLc0)
|
||||
- [@video@File Upload in Laravel: Main Things You Need To Know](https://www.youtube.com/watch?v=xN-CF7dzeyM)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Route Groups
|
||||
|
||||
Route groups provide a way to share route attributes, such as middleware, namespaces, prefixes, and subdomain restrictions, across a large number of routes without needing to define them individually for each route. This allows for cleaner and more organized route definitions, reducing redundancy and improving maintainability. They essentially bundle common configurations for a set of routes.
|
||||
Route groups provide a way to share route attributes, such as middleware, namespaces, prefixes, and subdomain restrictions, across a large number of routes without needing to define them individually for each route. This allows for cleaner and more organized route definitions, reducing redundancy and improving maintainability. They essentially bundle common configurations for a set of routes.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Route Groupes](https://laravel.com/docs/routing#route-groups)
|
||||
- [@article@How Laravel Route Groups Can Simplify and Organize Your Code](https://redberry.international/laravel-route-group-organize-your-code/)
|
||||
- [@article@6 Tips To Organize Your Routes](https://laravel-news.com/laravel-route-organization-tips)
|
||||
- [@video@Laravel 12 Route Grouping & Naming – Organize Your Routes Like a Pro](https://www.youtube.com/watch?v=qXulJqduM4I)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Route Model Binding
|
||||
|
||||
Route model binding is a way to automatically inject model instances into your route handlers based on the route parameters. Instead of manually querying the database for a model within your controller method using the ID passed in the route, Laravel can automatically resolve the model instance for you, making your code cleaner and more readable. This simplifies the process of retrieving data associated with a specific model based on the route parameters.
|
||||
Route model binding is a way to automatically inject model instances into your route handlers based on the route parameters. Instead of manually querying the database for a model within your controller method using the ID passed in the route, Laravel can automatically resolve the model instance for you, making your code cleaner and more readable. This simplifies the process of retrieving data associated with a specific model based on the route parameters.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Route model binding](https://laravel.com/docs/folio#route-model-binding)
|
||||
- [@article@What is route model binding in Laravel?](https://www.educative.io/answers/what-is-route-model-binding-in-laravel)
|
||||
- [@article@Cleaner Laravel Controllers with Route Model Binding](https://www.digitalocean.com/community/tutorials/cleaner-laravel-controllers-with-route-model-binding)
|
||||
- [@video@Master Laravel Route Model Binding to Clean Your Code](https://www.youtube.com/watch?v=qWo2n11N-uw)
|
||||
- [@video@Laravel Tutorial for Beginners #23 - Route Model Binding](https://www.youtube.com/watch?v=YkwbsesO3Rs)
|
||||
@@ -4,7 +4,7 @@ Route parameters allow you to capture segments of the URI within your route defi
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Route parameters](https://laravel.com/docs/12.x/routing#route-parameters)
|
||||
- [@official@Route parameters](https://laravel.com/docs/routing#route-parameters)
|
||||
- [@article@Route Parameters and Route Model Binding](https://laraveldaily.com/lesson/laravel-beginners/route-parameters-route-model-binding)
|
||||
- [@article@Get Laravel Route Parameters in Middleware](https://www.digitalocean.com/community/tutorials/get-laravel-route-parameters-in-middleware)
|
||||
- [@video@Working with Route Parameters in Laravel | Learn Laravel The Right Way](https://www.youtube.com/watch?v=DgQEDXBcyZw)
|
||||
@@ -1,3 +1,7 @@
|
||||
# Routes
|
||||
|
||||
The `routes` directory in Laravel houses all the route definitions for your application. These files tell Laravel how to respond to different HTTP requests (like GET, POST, PUT, DELETE) for specific URLs. Each file typically defines a set of routes, mapping a URL to a specific controller action or closure that will handle the request and return a response.
|
||||
The `routes` directory in Laravel houses all the route definitions for your application. These files tell Laravel how to respond to different HTTP requests (like GET, POST, PUT, DELETE) for specific URLs. Each file typically defines a set of routes, mapping a URL to a specific controller action or closure that will handle the request and return a response.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Routes Directory](https://laravel.com/docs/structure#the-routes-directory)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Sail
|
||||
|
||||
Sail is a light-weight command-line interface (CLI) for interacting with Laravel's default Docker development environment. It provides a simple way to manage and run your Laravel application using Docker, without requiring prior Docker experience. It offers commands to start, stop, and manage your application's containers, making local development easier and more consistent.
|
||||
Sail is a light-weight command-line interface (CLI) for interacting with Laravel's default Docker development environment. It provides a simple way to manage and run your Laravel application using Docker, without requiring prior Docker experience. It offers commands to start, stop, and manage your application's containers, making local development easier and more consistent.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Sail](https://laravel.com/docs/sail)
|
||||
- [@opensource@sail](https://github.com/laravel/sail)
|
||||
- [@article@A Complete Guide to Laravel Sail](https://hackernoon.com/a-complete-guide-to-laravel-sail)
|
||||
- [@article@Laravel Sail](https://laravel-news.com/laravel-sail)
|
||||
- [@video@The Laravel Ecosystem - Sail ⛵](https://www.youtube.com/watch?v=jEzqiloXKMs)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Sanctum
|
||||
|
||||
Sanctum is a lightweight authentication system primarily designed for single-page applications (SPAs), mobile applications, and simple APIs. It provides a straightforward method for authenticating users using API tokens, allowing them to access protected routes and resources. Sanctum focuses on issuing API tokens that are scoped to specific abilities, offering a more granular control over user permissions compared to traditional session-based authentication.
|
||||
Sanctum is a lightweight authentication system primarily designed for single-page applications (SPAs), mobile applications, and simple APIs. It provides a straightforward method for authenticating users using API tokens, allowing them to access protected routes and resources. Sanctum focuses on issuing API tokens that are scoped to specific abilities, offering a more granular control over user permissions compared to traditional session-based authentication.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Laravel Sanctum](https://laravel.com/docs/sanctum)
|
||||
- [@opensource@sanctum](https://github.com/laravel/sanctum)
|
||||
- [@article@Laravel Sanctum Installation: A Quick 5-Minute Guide for Secure REST API](https://medium.com/@sarfaraz.muhammad.sajib/laravel-sanctum-installation-a-quick-5-minute-guide-for-secure-rest-api-00e0eb27a8c1)
|
||||
- [@video@Example of Laravel Sanctum with API Tokens](https://www.youtube.com/watch?v=Ql5z9TjXWLY)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Single-Action Controllers
|
||||
|
||||
Single-action controllers are controllers that contain only one method, typically named `__invoke`. This approach simplifies controller logic when a controller is responsible for performing a single, specific task. Instead of defining multiple methods for different actions, you define a single method that handles the entire request, leading to cleaner and more focused code.
|
||||
Single-action controllers are controllers that contain only one method, typically named `__invoke`. This approach simplifies controller logic when a controller is responsible for performing a single, specific task. Instead of defining multiple methods for different actions, you define a single method that handles the entire request, leading to cleaner and more focused code.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Single Action Controllers](https://laravel.com/docs/controllers#single-action-controllers)
|
||||
- [@article@Single Action Controllers: One Job, Done Right](https://laracasts.com/series/jeremys-larabits/episodes/22)
|
||||
- [@article@The Beauty of Single Action Controllers](http://driesvints.com/blog/the-beauty-of-single-action-controllers/)
|
||||
- [@video@Using single action controllers in Laravel](https://www.youtube.com/watch?v=lLj8UYrqLuU)
|
||||
@@ -4,6 +4,6 @@ Starter kits provide a pre-built scaffolding for new Laravel applications, offer
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Starter Kits](https://laravel.com/docs/12.x/starter-kits#main-content)
|
||||
- [@official@Starter Kits](https://laravel.com/docs/starter-kits#main-content)
|
||||
- [@article@Laravel Starter Kits List: Official and Community](https://nabilhassen.com/laravel-starter-kits-list-official-and-community)
|
||||
- [@article@10 Best Laravel Starter Kits for 2025](https://saasykit.com/blog/10-best-laravel-starter-kits-for-2025)
|
||||
@@ -4,4 +4,4 @@ The `storage` directory in Laravel is where the framework stores files generated
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@The Storage Directory](https://laravel.com/docs/12.x/structure#the-storage-directory)
|
||||
- [@article@The Storage Directory](https://laravel.com/docs/structure#the-storage-directory)
|
||||
@@ -1,3 +1,10 @@
|
||||
# Streamed Responses
|
||||
|
||||
Streamed responses allow you to send large files or data streams to the user's browser in chunks, rather than loading the entire content into memory at once. This is particularly useful for handling large downloads, video streaming, or any situation where you need to send data incrementally to avoid memory limitations and improve performance. Instead of waiting for the entire file to be processed, the browser can start receiving and displaying the content as it becomes available.
|
||||
Streamed responses allow you to send large files or data streams to the user's browser in chunks, rather than loading the entire content into memory at once. This is particularly useful for handling large downloads, video streaming, or any situation where you need to send data incrementally to avoid memory limitations and improve performance. Instead of waiting for the entire file to be processed, the browser can start receiving and displaying the content as it becomes available.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Streamed Responses](https://laravel.com/docs/responses#streamed-responses)
|
||||
- [@article@Optimizing Large Data Delivery with Laravel Streaming Responses](https://laravel-news.com/streaming-responses)
|
||||
- [@article@Streaming Responses in Laravel: A Guide to Efficient Data Delivery](https://medium.com/@harrisrafto/streaming-responses-in-laravel-a-guide-to-efficient-data-delivery-bac37aa76c03)
|
||||
- [@video@Welcome the New Stream Hooks for React & Vue](https://www.youtube.com/watch?v=mSssWRUkmXAv)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Task Scheduling
|
||||
|
||||
Task scheduling involves automating the execution of specific commands or tasks at predefined intervals. This allows developers to automate repetitive processes, such as sending emails, cleaning up data, or generating reports, without manual intervention. By defining a schedule, these tasks can run in the background, freeing up resources and ensuring timely execution.
|
||||
Task scheduling involves automating the execution of specific commands or tasks at predefined intervals. This allows developers to automate repetitive processes, such as sending emails, cleaning up data, or generating reports, without manual intervention. By defining a schedule, these tasks can run in the background, freeing up resources and ensuring timely execution.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Task Schedulling](https://laravel.com/docs/12.x/scheduling)
|
||||
- [@article@Streamlining Application Automation with Laravel's Task Scheduler](https://laravel-news.com/task-scheduler)
|
||||
- [@article@A Complete Guide to Task Scheduling in Laravel](http://betterstack.com/community/guides/scaling-php/laravel-task-scheduling/)
|
||||
- [@video@Laravel Task Scheduling: Run Artisan Command Hourly](https://www.youtube.com/watch?v=r-KrsQ0dN80)
|
||||
- [@video@Laravel Scheduler: 5 "Tricks" You May Not Know](https://www.youtube.com/watch?v=KBAIWP8wfyQ)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Telescope
|
||||
|
||||
Telescope is an elegant debug assistant for the Laravel framework. It provides insights into the requests coming into your application, exceptions, log entries, database queries, queued jobs, mail, notifications, cache operations, scheduled tasks, variable dumps, and more. It essentially acts as a powerful dashboard to monitor and debug your Laravel application's activity.
|
||||
Telescope is an elegant debug assistant for the Laravel framework. It provides insights into the requests coming into your application, exceptions, log entries, database queries, queued jobs, mail, notifications, cache operations, scheduled tasks, variable dumps, and more. It essentially acts as a powerful dashboard to monitor and debug your Laravel application's activity.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Telescope](https://laravel.com/docs/telescope#main-content)
|
||||
- [@opensource@telescope](https://github.com/laravel/telescope)
|
||||
- [@article@What is Laravel Telescope?](https://dev.to/ethanleetech/what-is-laravel-telescope-2iaf)
|
||||
- [@video@Laravel Telescope: Monitor and Debug Slow API Queries](https://www.youtube.com/watch?v=rrqNbzR_0pk)
|
||||
- [@video@Debug Eloquent Queries from API: Laravel Telescope](https://www.youtube.com/watch?v=SR3RzIfeozI)
|
||||
@@ -4,4 +4,4 @@ The `tests` directory in Laravel projects houses all the automated tests for you
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@The Tests Directory](https://laravel.com/docs/12.x/structure#the-tests-directory)
|
||||
- [@official@The Tests Directory](https://laravel.com/docs/structure#the-tests-directory)
|
||||
@@ -1,3 +1,11 @@
|
||||
# Unit and Feature Tests
|
||||
|
||||
Unit and feature tests are automated ways to verify that your code works as expected. Unit tests focus on testing individual components or functions in isolation, ensuring each part performs its specific task correctly. Feature tests, on the other hand, test larger parts of your application, simulating user interactions and verifying that different components work together to deliver the desired functionality.
|
||||
Unit and feature tests are automated ways to verify that your code works as expected. Unit tests focus on testing individual components or functions in isolation, ensuring each part performs its specific task correctly. Feature tests, on the other hand, test larger parts of your application, simulating user interactions and verifying that different components work together to deliver the desired functionality.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Testing: Getting Started](https://laravel.com/docs/12.x/testing)
|
||||
- [@article@Unit TestHow to Get Started with Unit Testing in Laravel](https://betterstack.com/community/guides/testing/laravel-unit-testing/)
|
||||
- [@article@Unit Testing in Laravel: A Practical Approach for Developers](https://dev.to/arafatweb/unit-testing-in-laravel-a-practical-approach-for-developers-7oa)
|
||||
- [@video@Laravel Testing 01/24: Why Test Your Code Automatically?](https://www.youtube.com/watch?v=BuDger5Ytbc&list=PLdXLsjL7A9k0esh2qNCtUMsGPLUWdLjHp&index=1)
|
||||
- [@video@Laravel Feature or Unit Tests: The Difference](https://www.youtube.com/watch?v=0bVlUy2L9tM)
|
||||
@@ -4,4 +4,4 @@ The `vendor` directory in a Laravel project houses all the Composer-installed de
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@The Vendor Directory](https://laravel.com/docs/12.x/structure#the-vendor-directory)
|
||||
- [@article@The Vendor Directory](https://laravel.com/docs/structure#the-vendor-directory)
|
||||
@@ -4,6 +4,6 @@ View routes provide a simple way to return a view directly from a route without
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@View Routes](https://laravel.com/docs/12.x/routing#view-routes)
|
||||
- [@official@View Routes](https://laravel.com/docs/routing#view-routes)
|
||||
- [@article@Basic routing & views](https://itf-laravel-11.netlify.app/laravel/basicRouting)
|
||||
- [@video@Laravel Tutorial for Beginners #2 - Routes & Views](https://www.youtube.com/watch?v=RT0DZYYE3wc)
|
||||
@@ -1,3 +1,8 @@
|
||||
# Views in Laravel
|
||||
|
||||
Laravel, beyond processing data and logic, can also present information to the user. One common way to do this is by sending a "view" as a response. A view is essentially an HTML template file that Laravel renders, often populated with data you pass to it from your application's logic. This allows you to dynamically generate web pages and other user interfaces.
|
||||
Laravel, beyond processing data and logic, can also present information to the user. One common way to do this is by sending a "view" as a response. A view is essentially an HTML template file that Laravel renders, often populated with data you pass to it from your application's logic. This allows you to dynamically generate web pages and other user interfaces.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@View Responses](https://laravel.com/docs/12.x/responses#view-responses)
|
||||
- [@article@Laravel Response](https://www.w3schools.in/laravel/response)
|
||||
@@ -4,10 +4,10 @@ Laravel is a PHP web application framework that provides tools and structure for
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@course@Learn Laravel - Free Video Courses](https://laravel.com/learn)
|
||||
- [@course@[FREE] Laravel 11 For Beginners: Your First Project](https://laraveldaily.com/course/laravel-beginners)
|
||||
- [@official@Laravel](https://laravel.com/)
|
||||
- [@official@Laravel Docs](https://laravel.com/docs/master)
|
||||
- [@article@What is Laravel: core features, use cases, and advantages of the PHP framework](https://www.hostinger.com/tutorials/what-is-laravel)
|
||||
- [@course@Learn Laravel - Free Video Courses](https://laravel.com/learn)
|
||||
- [@course@[FREE] Laravel 11 For Beginners: Your First Project](https://laraveldaily.com/course/laravel-beginners)
|
||||
- [@video@Laravel 12 in 11 hours - Laravel for Beginners Full Course](https://www.youtube.com/watch?v=0M84Nk7iWkA)
|
||||
- [@video@Learn Laravel from Scratch [FULL BOOTCAMP COURSE]](https://www.youtube.com/watch?v=MOLZOXqaomM)
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user