- 1. Windows and MacOS
- 1.1 Laravel Herd
- 1.2 Dbngin
- 1.3 Laragon
- 2. Windows, MacOS and Linux
- 3. Composer
- 3.1 Add composer in the PATH on MacOS
- 4. Valet Linux Installation on CachyOS
- 4.1 Prerequisites and System Dependencies
- 4.2 php.ini File Configuration
- 4.3 Composer Installation (Global)
- 4.4 Laravel Valet Installation and Deployment
- 4.5 Technical Workflow (Daily Use)
- 4.6 Diagnostic Commands and Common Utilities
- 4.7 MariaDB Installation and Configuration
- 4.8 Other Useful Commands
- 4.9 Performance is Incredible, but Changing Versions is Manual
- 4.10 Cache Problems
- 5. Code Editor and Extensions
- 5.1 AI Recommendation: Cursor or Antigravity IDE
- 5.2 Essential Extensions in VS Code
- 6. Node
- 7. Organization of a project
- 7.1 The app folder
- 7.2 The bootstrap folder
- 7.3 The config folder
- 7.4 The database folder
- 7.5 The lang folder
- 7.6 The public folder
- 7.7 The resource folder
- 7.8 The routes folder
- 7.9 The storage folder
- 7.10 The test folder
- 7.11 The vendor folder
- 7.12 The app folder
- 7.13 Dependency Tools in Laravel
- 8. Create a project in Laravel
- 8.1 Windows and MacOS
- 8.2 Create a project in Laravel
- 8.3 MacOS and Linux
- 9. Run the Laravel application
- 9.1 Laragon
- 9.2 Laravel Sail
- 9.3 Laravel Herd
- 10. First steps with Laravel
- 10.1 The entry point: The public folder
- 10.2 What is a Framework?
- 11. Developer Mode
- 11.1 Types of requests (HTTP Verbs)
- 11.2 Views
- 11.3 Error management and the .env file
- 11.4 How does Laravel know which configuration to use, the one in the .env or the ones in the config folder?
- 11.5 Configure the database MySQL
- 12. MVC: Model View Controller
- 12.1 How does a request flow in Laravel?
- 13. Routes: Introduction
- 13.1 Named routes
- 14. Artisan the command line
- 15. Routes and views
- 15.1 Case study
- 16. Parameter passing
- 17. Redirects
- 18. Directives in Laravel for blade (views)
- 18.1 if directive
- 18.2 foreach directive
- 19. Sort views in folders
- 19.1 Case study
- 20. Layout or master view
- 21. Views and Controllers
- 22. Case study
- 23. CRUD type routes (resource)
- 23.1 Route arguments
- 23.2 Working with routes
- 23.3 Resource type routes
- 24. Compact function
- 25. Why are they so important?
- 26. Migrations
- 27. Create a migration
- 28. Run the migration
- 29. Case study: Creating the Posts and Categories table
- 29.1 Explanation of the above code
- 30. How does Laravel know what still needs migrating?
- 31. Migration flow
- 31.1 Revert migrations (rollback)
- 31.2 Refresh the database
- 32. Optional: Syncing with GitHub: Control and Backup
- 32.1 Repository Configuration
- 32.2 Uploading Code to the Cloud
- 32.3 Using Tags for book Tracking
- 33. FOREIGN_KEY_CHECKS for rollback of foreign key type migrations in Laravel
- 33.1 Resolution
- 33.2 Optional
- 34. Recovering the project (Git Clone)
- 35. Creating a Resource Controller
- 35.1 Organizing by Folders
- 35.2 Model
- 36. CRUD Operations
- 36.1 What is Eloquent and ORM?
- 36.2 Create a record
- 36.3 Update a record
- 36.4 Retrieving Records
- 36.5 Visualizing the SQL: toSql()
- 36.6 ORM Mapping
- 36.7 Delete a record
- 37. Return Typing in Controller Methods
- 38. The Client-Server Cycle in Laravel
- 39. Foreign Relationships: One to Many
- 39.1 The Post belongs to a Category (belongsTo)
- 39.2 The Category has many Posts (hasMany)
- 39.3 How to access related data
- 39.4 Accessing as Property (Dynamic Properties)
- 39.5 Accessing as Method (Query Builder)
- 39.6 Other Examples
- 40. Class Attributes: The New Syntax starting from Laravel 13
- 40.1 How to implement the Fillable Attribute
- 40.2 Implementation Example:
- 40.3 Which one should I use?
- 40.4 Verifying the functionality
- 41. Route::resource: CRUD in a Single Line
- 41.1 Inspecting the Form (F12)
- 42. Create
- 42.1 Form Construction in Blade
- 42.2 Receive data from the store
- 42.3 What is the 419 Error and the CSRF Attack?
- 42.4 Under the Hood: From Blade to Pure PHP
- 43. Validate Data
- 43.1 Validation Rules
- 43.2 Validations in the Controller via Request
- 43.3 Validations with the Validator Facade
- 43.4 Validations using a FormRequest class
- 43.5 Validate the slug
- 43.6 What is the purpose of the authorize() method?
- 44. Show form errors
- 44.1 The Automatic Redirection Flow
- 44.2 How to Include the Fragment in Your View
- 45. Data Registration in the Database
- 46. List
- 46.1 Paginated list: Handling Large Volumes
- 46.2 Connecting CRUD Actions in the Listing
- 47. Laravel Redirects: Controlling the Flow
- 47.1 Implementation with toRoute()
- 47.2 Type Hinting and Controller Responses
- 47.3 Applying Redirects in CRUD
- 48. Creating the Master Template (Layout)
- 48.1 Defining the Layout in Blade
- 48.2 Integration with Vite and Tailwind CSS
- 48.3 Connecting Views with the Layout
- 48.4 Key Concepts
- 49. Edit
- 49.1 Creating the PutRequest
- 49.2 Validate the slug
- 50. View Fragment for Fields
- 51. Previous values
- 51.1 Example in Title and Slug
- 51.2 Handling Selects and Textareas
- 52. Refactoring with AI: Creating a Base Class for Requests
- 53. Automation with prepareForValidation
- 53.1 Implementation in PostRequest
- 53.2 Helper Functions in Laravel
- 54. Image/File Upload
- 54.1 The indispensable attribute: enctype
- 54.2 Request: Validation Rules
- 54.3 Controller
- 54.4 Why do we use public_path?
- 55. Delete
- 56. Detail view
- 57. Category CRUD
- 58. Tinker, the interactive Laravel console
- 58.1 Executing Real-Time Operations
- 58.2 Advantages over Traditional "Debug"
- 59. Flash messages
- 59.1 What exactly is a Flash Message?
- 59.2 The with() method
- 59.3 Case study
- 59.4 Flash Message Consumption in the Layout
- 59.5 Flash Message Behavior
- 60. Session
- 61. Names on routes
- 62. Parameters
- 62.1 Mandatory parameters
- 62.2 Optional Parameters
- 62.3 Parameters and Model Binding
- 63. Grouped routes
- 63.1 CRUD routes
- 64. Middlewares
- 64.1 Class Anatomy
- 65. Advanced Route Grouping
- 65.1 Grouping by Controller (Route::controller)
- 65.2 Grouped
- 65.3 Resource Type Routes
- 66. The Past: Laravel UI and Laravel Breeze
- 66.1 The Current Dilemma: Outsource or Maintain Control?
- 66.2 Why Did We Choose Laravel Fortify?
- 67. Laravel Fortify
- 67.1 Package Installation
- 68. Resource Publication and Migrations
- 68.1 The Concept of "Headless" in Authentication
- 69. Fortify Configuration
- 70. Creation of Authentication Views
- 70.1 Defining the Login View
- 70.2 Defining the Registration View
- 71. Authentication System with Fortify
- 71.1 Protecting the Dashboard with Middlewares
- 71.2 Logging Out
- 72. Role Management
- 72.1 Why a Manual Role System?
- 72.2 Define Roles in the Database
- 72.3 The Model and Fillable Protection
- 72.4 Create the Admin Middleware
- 72.5 A Scalable and Flexible System
- 73. Laravel Breeze (Legacy)
- 73.1 Authentication system
- 73.2 Configure our application with Laravel Breeze
- 73.3 Adapt style to the rest of the application
- 73.4 Laravel Breeze variants on installation
- 74. Role management
- 74.1 Case study
- 75. What is Tailwind CSS?
- 76. Learning Recommendations
- 77. Table Layout with Tailwind CSS
- 77.1 Searching for the Ideal Design
- 77.2 Applying Styles and Colors
- 77.3 Responsive Tables and Scroll
- 78. From Tailwind Classes to Componentized CSS
- 78.1 Style Configuration in the Dashboard
- 78.2 Create the file
- 78.3 Register in Vite
- 78.4 Import in the Layout
- 78.5 Using the @apply Directive
- 78.6 Advantages of this Approach
- 78.7 Watcher Verification
- 79. Container and Breakpoints Configuration
- 79.1 Defining Complex Classes
- 79.2 Browser Visualization
- 79.3 Difference between @apply and Utility Directives
- 80. Creating Custom Buttons with Tailwind
- 80.1 Base Structure and Reusable Classes
- 80.2 Applying Styles in HTML (Blade)
- 81. Form Layout
- 82. Form Structure with CSS Grid
- 83. Creating the Card Component
- 83.1 Apply in the Layout
- 84. Authentication Layout
- 85. Error Component for Forms
- 86. Improving Design with Artificial Intelligence
- 86.1 Strategy: The Prompt and Context
- 87. Navbar and Navigation Implementation
- 88. Status Message Component
- 89. CSS Modularization: From Monolith to Components
- 89.1 Refactoring and File Structure
- 90. Conclusion
- 91. What is Eloquent and what is an ORM?
- 91.1 Relational vs. Non-Relational Databases: Where does Eloquent fit?
- 91.2 1. Comparison: Pure PHP with SQL vs. Eloquent ORM in Laravel
- 91.3 2. Main advantages of using Eloquent ORM
- 91.4 3. Simplification of CRUD operations and relationships in Laravel
- 91.5 4. Advanced data handling: Collections in Laravel
- 92. CRUD Operations with Eloquent on Models
- 92.1 1. Creating a record (Create / Eloquent Insert)
- 92.2 2. Updating a record (Update)
- 92.3 3. Retrieving and querying records (Read / Eloquent Select)
- 92.4 4. Deleting a record (Delete)
- 93. Class Attributes: The New Syntax in Laravel 13
- 93.1 How to implement the #[Fillable] Attribute
- 93.2 Which of the two syntaxes should you use?
- 94. Advanced Operations in Eloquent and Query Builder
- 94.1 Inspecting the SQL statement with toSql()
- 94.2 Joining tables with join()
- 94.3 Logical grouping with nested where() and orWhere()
- 94.4 Filtering by sets with whereIn() and whereNotIn()
- 94.5 Manual pagination with limit() and offset() (or take() and skip())
- 94.6 Counting and random ordering
- 94.7 Serialization to JSON and Array
- 95. Cloning Models with replicate()
- 96. pluck() vs. modelKeys(): How to get an array of IDs in Eloquent
- 96.1 1. Using pluck()
- 96.2 2. Using modelKeys()
- 97. Retrieving the Last Inserted ID in Laravel
- 97.1 1. Via Eloquent's create() method (Recommended)
- 97.2 2. Via the save() method
- 97.3 3. With the Query Builder via insertGetId()
- 97.4 4. Via latest('id')->first()
- 97.5 5. Via PDO with lastInsertId()
- 98. Model Casts Methods: Attribute Conversion
- 99. Dynamic Filters with Conditional Clauses: when() and whereBetween()
- 99.1 Filtering by date ranges with whereBetween()
- 100. Viewing and Debugging SQL Queries in Laravel: N+1 Problem Detection
- 100.1 The danger of the N+1 problem and how to solve it with with() (Eager Loading)
- 100.2 Tools and methods to inspect executed SQL
- 101. Search Methods with Exceptions: firstOrFail and findOrFail
- 102. updateOrCreate
- 102.1 How does it work?
- 102.2 Manual vs. Eloquent Example:
- 102.3 firstOrCreate and Other Utility Methods
- 103. Conclusion
- 104. One to one relationships
- 104.1 Why create a separate table instead of adding fields to the users table?
- 105. One-to-one relationships
- 105.1 Why create a separate table instead of adding fields to the users table?
- 105.2 Create a profile view
- 106. One-to-many relationships
- 107. One to many relationships
- 108. Many-to-many relationships
- 109. Polymorphic relationships
- 109.1 Practical case: Many-to-many relationship
- 109.2 Practical case: One-to-many relationship
- 109.3 Practical case: One-to-one relationship
- 109.4 Conclusion
- 110. What is a component in Blade?
- 111. Structure and Advantages
- 111.1 Types of Components in Laravel
- 112. Initial structure
- 113. Anonymous Components: List View
- 113.1 Component Structure (Blade)
- 113.2 Layout
- 113.3 Style Modularization with CSS
- 113.4 Listed in the component
- 113.5 In Laravel Breeze (Legacy)
- 114. Slot
- 114.1 Default slot
- 114.2 Slots with name
- 114.3 Slots with name on a line
- 114.4 Slots or Props? (Key Differences)
- 115. Components with classes: Detail view
- 115.1 Are Class Components worth it?
- 115.2 Invoke methods
- 115.3 Is this logic really useful?
- 116. Attributes and Props in Components
- 116.1 Merge attributes
- 117. Props
- 118. Get and filter attributes
- 118.1 Arrow function in PHP
- 119. Dynamic components
- 120. Hide attributes/methods
- 121. Associate a component to a route
- 121.1 Index View Refactoring (Listing)
- 121.2 Show View Refactoring (Detail)
- 122. Introduction to Blade
- 122.1 HTML Printing
- 122.2 Control Structures and Conditionals
- 122.3 Error Handling and Forms
- 122.4 Environment Variables
- 122.5 Frontend Integration (@verbatim)
- 122.6 Using PHP inside Blade
- 122.7 Advanced Directives: Scripts and Stacks
- 122.8 Dynamic Classes and Attributes
- 122.9 Security and HTML Data Escaping
- 122.10 Printing HTML in Blade
- 122.11 The @include Directive and its Variants
- 123. What are Seeders?
- 124. What are Factories?
- 125. Generate a seeder
- 125.1 Case study
- 125.2 Explanation of the above code
- 126. Model factories
- 126.1 Defining the "Mold" with Faker
- 126.2 Execution from DatabaseSeeder or specific Seeder
- 127. What is a REST API?
- 128. Server and Client
- 129. What a REST API Can Do
- 130. REST and its Rules
- 131. HTTP and Methods
- 132. APIs in General
- 133. Status Codes (HTTP Status Codes)
- 134. What exactly is JSON?
- 135. API Installation
- 136. Creating the API Controller
- 136.1 Controllers and routes
- 137. Handle exceptions
- 137.1 How does this flow work?
- 138. Testing our REST API with Postman
- 138.1 The Importance of Headers
- 139. Implement custom methods
- 139.1 Get All
- 139.2 Consume by slug
- 140. Authentication for the Rest API
- 140.1 Authentication for a SPA website
- 140.2 Create controller for login
- 140.3 Create test user
- 140.4 Testing with Postman, Vue and protection using Sanctum
- 140.5 Protect routes using required authentication
- 141. Protecting the API with Laravel Sanctum
- 141.1 1. Stateless Authentication
- 141.2 How to protect your routes
- 141.3 What happens when a route is protected?
- 141.4 Abilities and Tokens
- 141.5 User Model Configuration
- 142. Token-Based Authentication
- 142.1 Creating tokens: Implementing the User Controller
- 142.2 Enabling HasApiTokens
- 142.3 Implementation of Logout (Token Revocation)
- 143. Resource Route Naming Conflict
- 143.1 The Root of the Problem: Name Collision
- 143.2 The Solution: Using Aliases (as)
- 144. API Resources: The Art of Serialization
- 144.1 Why do we need this intermediate layer?
- 144.2 Advantages of Decoupling
- 145. Creating Resource Classes
- 145.1 Implementing API Resources
- 145.2 Why use API Resources? (Technical Comparison)
- 146. Strategies for Renewing the Access Token (JWT) in a REST API - Laravel Sanctum Case
- 146.1 1. Hybrid Authentication: Cookies vs. Tokens
- 146.2 2. Token Lifecycle: Mitigating Dead Records
- 146.3 Strategy Zero: Scheduled Cleanup (Cron Jobs)
- 146.4 Strategy One: Active Renewal (Silent Refresh)
- 146.5 Strategy Two: Dynamic Token Extension
- 146.6 3. Practical Implementation: Early Validation and Session Extension
- 146.7 4. Centralization and Unique Device Identification
- 147. When to UNIFY Endpoints in Your REST API?
- 147.1 Problem Identification: Multiple Redundant Requests
- 147.2 Golden Rule for Endpoint Unification
- 147.3 State Management and Initial Load Strategies
- 147.4 Considerations for Version Control and Mobile Clients
- 147.5 Limitations of Device Control
- 148. Strategies for Protecting a REST API in Laravel with HMAC Digital Signature and Timestamps
- 148.1 Protection in Web Environments Using CORS
- 148.2 Protection for Mobile Applications: HMAC and Timestamps
- 148.3 1. Theoretical Foundations: HMAC, Integrity, and Replay Attacks
- 148.4 2. Creating the Validation Middleware in Laravel
- 148.5 3. Configuration and Middleware Registration
- 148.6 4. Route Protection in routes/api.php
- 148.7 5. Client Implementation (Flutter / Dart)
- 148.8 6. Best Practices in Mobile Client Development
- 148.9 7. Additional Security Best Practices
- 148.10 Conclusion
- 149. Implementation of the Generator Service in Laravel: ClientFingerprintService
- 149.1 Native Integration with Laravel Sanctum Without Modifying Database Schemas
- 149.2 Verification Middleware: VerifyClientFingerprint
- 149.3 Web Client: Axios Centralization and Interceptors in Vue 3
- 149.4 Mobile Client: Centralized Interceptor and Alerts in Flutter (Dart)
- 149.5 Automated Testing and Validation with Pest PHP
- 149.6 Conclusion
- 150. Implementation of the Generator Service in Laravel: ClientFingerprintService
- 150.1 Native Integration with Laravel Sanctum Without Modifying Database Schemas
- 150.2 Verification Middleware: VerifyClientFingerprint
- 150.3 Web Client: Axios Centralization and Interceptors in Vue 3
- 150.4 Mobile Client: Centralized Interceptor and Alerts in Flutter (Dart)
- 150.5 Automated Testing and Validation with Pest PHP
- 150.6 Conclusion
- 151. Create the Project in Vue
- 152. Configure project in Vue 3 with Oruga UI
- 152.1 Package installation
- 152.2 Global Configuration
- 153. Building the Publication List with Oruga UI
- 153.1 Generate a list
- 154. Install Material Design Icons
- 155. Pagination
- 156. Routing with Vue Router
- 156.1 Install
- 156.2 Define routes
- 156.3 Create links
- 156.4 Component to create and edit post
- 156.5 Optional parameters for Vue Route in Laravel
- 157. Tailwind.css in project in Vue with Oruga UI
- 157.1 Container
- 157.2 Changes to the list component
- 157.3 Changes to the save component
- 158. Confirmation message to delete
- 159. Action taken message
- 160. Upload files
- 160.1 Rest Resource
- 160.2 Vue 3 and upload component in Oruga UI
- 160.3 Form error handling
- 160.4 Optional: Upload files via Drag and Drop
- 160.5 Delete old files
- 161. Migrate routes to App.vue
- 162. Vue 3, consuming a Sanctum protected Rest Api via SPA and tokens
- 162.1 Login: Create window
- 162.2 Login: Get Token
- 162.3 Handle auth token in Vue
- 162.4 Redirects in the login component
- 162.5 Send token in requests
- 162.6 Log out
- 162.7 Manage the authentication token through a Cookie
- 162.8 Unify Token and Sanctum Session
- 162.9 Protect routes by authentication required
- 162.10 Final functional details
- 162.11 Visual details
- 163. Basic use of the cache
- 163.1 Cache::get()
- 163.2 Cache::has()
- 163.3 Cache::put()
- 163.4 Cache::putMany()
- 163.5 Cache::add()
- 163.6 Cache::pull()
- 163.7 Cache::many()
- 163.8 Cache::remember()
- 163.9 Cache::rememberForever()
- 163.10 Increasing or decreasing cached values
- 163.11 Cache::forever()
- 163.12 Cache::forget()
- 163.13 Cache::flush()
- 164. Case study
- 164.1 JSON Content in Rest Api
- 164.2 HTML content or view fragment
- 165. Controller types
- 165.1 File
- 165.2 Database
- 165.3 Memcached
- 165.4 Redis
- 165.5 Array
- 166. Cache with Redis
- 166.1 Redis installation
- 166.2 Additional settings
- 167. Routes cache
- 167.1 Practical case
- 168. Authentication and authorization
- 169. Initial changes
- 170. Gate define and allow methods keys
- 171. Policies for grouping rules based on models
- 171.1 Creating a policy
- 171.2 Register policy
- 171.3 Use policy
- 171.4 Policy responses
- 171.5 Modify post save
- 171.6 Important methods
- 172. Roles and permissions
- 173. Installation and configuration
- 174. Seeder: Permissions and roles
- 175. Methods to assign: Permissions to roles, roles to permissions and users, permissions and roles
- 175.1 Roles to permissions and/or users
- 175.2 Permissions to roles (or roles to permissions)
- 175.3 Case study
- 176. Verify accesses
- 176.1 Check permissions and roles on controllers
- 176.2 Check permissions on views
- 177. Create a role CRUD
- 178. Create a permissions CRUD
- 179. Add/remove permissions to roles
- 179.1 Initial structure
- 179.2 Assign permissions to the role using a form
- 179.3 Remove a permission from a role using a form
- 179.4 Assign permissions to the role by HTTP requests using JavaScript
- 179.5 Add an item (permission) to the list
- 179.6 Avoid inserting repeated permissions in the list
- 179.7 Remove permissions from the selected role
- 180. Create CRUD for users
- 181. Generate factory for users
- 182. Assign roles to user
- 182.1 List of roles assigned to the user
- 182.2 Assign roles
- 182.3 Remove roles
- 183. User permission management
- 183.1 Permission list
- 183.2 Assign permissions to user
- 183.3 Remove user permissions
- 184. Verify accesses with spatie
- 184.1 Crud of posts and categories
- 184.2 Crud of users
- 184.3 User access to the dashboard
- 184.4 Roles and permissions crud
- 184.5 Migrate controller permission check to Gate for users
- 184.6 Define links and verification of access to CRUD in the views
- 185. Design
- 186. Environment Variables (.env) vs. Configuration (config/)
- 186.1 Create our own configurations
- 186.2 Create custom files
- 187. Never use env() outside of configuration files!
- 188. Logging
- 188.1 Why are they vital?
- 188.2 Configure channels for the log
- 188.3 Default channels
- 189. Log Levels
- 189.1 Log formatter
- 190. Implementation of a Custom Log Viewer with Livewire
- 190.1 Blade Component Structure
- 190.2 Importance of Continuous Monitoring
- 191. Manual Pagination: Beyond Eloquent
- 191.1 Paginator
- 191.2 LengthAwarePaginator
- 191.3 What do we gain from this?
- 191.4 Paginator vs. LengthAwarePaginator
- 192. Mail
- 192.1 Mailable class
- 192.2 Send emails individually
- 192.3 Parameters
- 192.4 Send mass emails
- 192.5 Queues
- 193. Creating your own Helper Functions
- 193.1 Create the file with the functions
- 193.2 Register in composer.json
- 193.3 Refresh dependencies
- 194. Collections
- 194.1 What are Collections in Laravel?
- 194.2 Convert an Array to a Collection
- 195. Transactional Operations in the Database
- 195.1 When are they actually necessary?
- 195.2 Practical Example: The Payment Process
- 195.3 How do they work?
- 195.4 The Mechanism: DB::transaction, Commit, and Rollback
- 196. Eager loading and lazy loading
- 196.1 Lazy Loading
- 196.2 Solve the problem: Eager Loading
- 197. Mutators and accessors
- 197.1 Mutators (Set)
- 197.2 Accessors (Get)
- 198. Localization and translations
- 198.1 Text strings for translation
- 198.2 Publish the language files
- 198.3 Create the translation chains
- 198.4 Translate internal messages to the framework
- 198.5 Configure regional settings (localization)
- 198.6 Middleware for language prefix in URL
- 198.7 Attributes
- 199. Custom attributes in @vite
- 200. Remove the public or index.php folder from the URL in Laravel
- 201. Queues and Job
- 201.1 Queue controller
- 201.2 Creation and dispatch of jobs/jobs
- 201.3 Other useful commands and options
- 201.4 Retry Management and Named Queues
- 201.5 Failed jobs
- 201.6 Attributes of the Job class
- 202. Handling error and exception pages
- 202.1 Exception Handling
- 202.2 Custom exceptions
- 202.3 Throttling
- 203. Listeners and Events in Laravel
- 203.1 What are events and listeners in Laravel?
- 203.2 How Decoupling Works
- 203.3 Event: what it represents and when it's fired
- 203.4 Listener: what it does and why it's key
- 203.5 Observer Pattern Applied in Laravel
- 203.6 What are event listeners for in Laravel?
- 203.7 How events and listeners work in Laravel (full flow)
- 203.8 Types of Events in Laravel
- 204. Listener auto-discovery
- 204.1 Creating an event and its listener in Laravel (basic example)
- 204.2 Real-world case: using a listener on Laravel's login
- 204.3 The problem: synchronizing data after authentication
- 205. Domains/subdomains and grouping routes into functions in Laravel
- 205.1 Domains and Subdomains
- 205.2 Organize Laravel Routes into Files
- 206. Elevate Your Professional Profile with Real Certifications
- 206.1 Specialization and Available Technologies
- 206.2 How does the certification process work?
- 206.3 Additional Information and Affiliation
- 207. QR Code Authentication and Mobile-Web Synchronization - Laravel + Flutter
- 207.1 The QR Concept
- 207.2 QR package in Node
- 208. Model
- 208.1 The Synchronization Flow: Active Query (Long Polling)
- 208.2 Implementation of Endpoints in the Backend (Laravel)
- 208.3 Integrating the QR Code Reader into the Mobile Client (Flutter)
- 208.4 Project Synchronization and Context Transfer between AIs
- 208.5 1. Unified Directory Strategy (Temporary Monorepo)
- 209. Authentication via Temporary Codes (OTP) by Email in Laravel Fortify
- 209.1 1. The Token Generation and Delivery Flow
- 209.2 Send OTP Token
- 209.3 Model
- 209.4 Views
- 209.5 Adaptability and Integration in Mobile Clients (API)
- 210. Action Pattern: Centralizing Business Logic in Laravel
- 210.1 The Bloated Controllers Problem
- 210.2 Architectural Advantages of Actions
- 210.3 Practical Implementation and Dependency Injection
- 210.4 The Structure of a Transactional Action
- 210.5 Action Pattern to Slim Down Controllers
- 211. Organization and Decoupling with Concerns (Traits)
- 211.1 Why Not Use Form Requests Inside an Action?
- 211.2 Key Difference Between an Action and a Concern
- 212. Laravel Modularization in Endpoints: Actions, Concerns, and Helpers
- 212.1 Modular Architecture: Decoupling Tools
- 212.2 Case Study: Logic Reuse Between API and Views
- 213. Introduction to Server-Sent Events (SSE) in Laravel: Real-Time Notifications
- 213.1 Advantages and Limitations of SSE
- 213.2 1. Flow Architecture
- 213.3 Use Cases and Efficient Implementation
- 213.4 Output Mechanism: Buffers and Data Flow in PHP
- 213.5 2. Flow Architecture
- 213.6 3. Backend - Connection Control
- 213.7 4. Frontend — Receiving the Stream on the Client (JavaScript / Vue)
- 213.8 5. Tests (Pest PHP)
- 213.9 6. Verification with curl
- 213.10 7. Production Notes
- 214. HTTP Requests in Laravel Using the Http Facade and Pool Usage - Parallel Requests
- 214.1 Concurrent Requests Using the Pool Method
- 214.2 Response Inspection and Verification Methods
- 214.3 Interactive Testing with Tinker
- 215. Read-Only Database Fallback Strategy in Laravel
- 215.1 Context and Infrastructure Limitations
- 215.2 SQLite Database Configuration
- 215.3 Data Synchronization for the Replica
- 215.4 Automatic Failure Detection via an Eloquent Trait
- 215.5 Usage in Eloquent Models
- 215.6 Technical Considerations
- 216. Model Delegation Strategy to Secondary Databases
- 216.1 Use Cases for Connection Delegation
- 216.2 Implementation via an Eloquent Trait
- 217. Usage in the Eloquent Model
- 218. Executing System Commands and Python Scripts in Laravel
- 218.1 1. The Python Script for Image Analysis
- 218.2 2. Encapsulating Logic in an Action
- 218.3 3. Implementation of Single Action Controller (Invokable)
- 218.4 4. Verification and Results
- 219. Services in Laravel: What They Are, When to Use Them, and When to Avoid Them
- 219.1 1. What is a Service in Laravel
- 219.2 2. Why They Are Important
- 219.3 3. Anatomy and Difference from Other Pieces (like Actions)
- 219.4 4. The Service Container and Binding
- 219.5 5. When TO Use a Service
- 219.6 6. When NOT to Use a Service (Over-engineering)
- 219.7 7. Common Implementation Errors
- 219.8 8. Decision Checklist
- 219.9 9. Complete Example with Interface and Test
- 220. Route-Level Caching via Middleware in Laravel
- 220.1 1. Caching for API Endpoints (CacheApiResponse)
- 220.2 2. Caching for Web Routes (CacheWebResponse)
- 221. Conclusion
- 222. Simple QR
- 222.1 Main Parameters:
- 222.2 ImageMagick
- 222.3 How to know if it is installed?
- 223. Laravel Excel
- 223.1 Export
- 223.2 Import
- 224. SEO in Laravel
- 224.1 SEOTools
- 224.2 Laravel SEO
- 225. SEO Suite
- 226. Laravel Debugbar
- 227. PayPal
- 227.1 Access keys and test users
- 227.2 Implement a simple payment system
- 228. Stripe
- 228.1 Create Test Environment
- 228.2 Create Test Credentials
- 228.3 Create test products
- 228.4 Laravel Cashier (Stripe)
- 228.5 Installation and configuration
- 228.6 API Key Management
- 228.7 API Keys
- 228.8 Generate sessionID
- 228.9 Check sessionId on server
- 228.10 Vue Stripe 4 (Legacy)
- 228.11 Vue Stripe 5
- 228.12 Integration with Vue, Modern form
- 228.13 Send request from client
- 228.14 Do not use priceID
- 228.15 Payment Intent
- 228.16 Other Laravel Cashier Methods
- 228.17 Subscription
- 228.18 Using the Vue Stripe plugin
- 228.19 Currency Settings
- 229. mobiledetectlib - Detect Mobile Browsing
- 229.1 Why use it on the server?
- 229.2 Compatibility with Emerging Technologies
- 230. Laravel Fortify
- 230.1 Installation and configuration
- 230.2 Features
- 230.3 User verification by emails
- 231. Breeze
- 231.1 Customize authentication views in Breeze
- 232. Optimization with Laravel Trash Cleaner
- 232.1 Installation and Command Usage
- 232.2 Automation with Laravel Scheduler
- 233. Implementing Laravel Socialite: Authentication with Google, GitHub, and Considerations
- 233.1 Credentials Configuration
- 233.2 Implementation of Redirect Routes
- 233.3 The User Data Challenge: Email
- 233.4 Production Testing and Callback URLs
- 233.5 Configuration in Developer Panels
- 234. CKEditor
- 234.1 Laravel and CKEditor
- 234.2 Embed CKEditor inside the form
- 234.3 Upload process
- 235. CustomAdapter
- 235.1 Useful links, common errors and support pages
- 236. Dynamic and scalable REST APIs
- 236.1 The Solution: Customization via Query String
- 236.2 Installation, Resources, and Live Testing
- 236.3 Summary
- 237. Eloquent Query Caching in Laravel
- 237.1 What is Eloquent AutoCache and How Does It Work?
- 237.2 Configuration and Implementation in the Model
- 237.3 Practical Demonstration: Cache Behavior and Invalidation
- 238. Query Caching in Eloquent with Laravel Model Caching
- 238.1 Basic Usage and Compatible Methods
- 238.2 Configuration Options and Manual Control
- 238.3 Practical Demonstration and Storage Behavior
- 239. Laravel Spatie Backup
- 239.1 Package Installation and Configuration
- 239.2 Executing the Backup from the Command Line
- 239.3 Operational Advantages in Production Environments
- 240. Update your database without dropping all tables
- 240.1 Using the Custom Fresh Package
- 240.2 Relationship Integrity Management
- 240.3 Execution Result
- 241. Interactive Documentation (Generate Diagram) of Database with Laravel
- 241.1 Installation and Access in Development Environments
- 241.2 Features and Interactive Interface
- 241.3 Exporting and Maintaining Documentation
- 242. Laritor: Application Monitoring
- 242.1 Metrics and Control Panel
- 242.2 Service Model and Plans
- 243. How to Convert an Existing Database into Laravel Migrations
- 243.1 Automatic Generation of Migrations from Tables
- 243.2 Mapping Eloquent Models from the Database
- 244. Project Diagnosis with Laravel Doctor
- 244.1 Installation and Command Usage
- 244.2 Analysis of Results in the Console
- 244.3 Production Environment Considerations
- 245. Generating PDFs - Dompdf
- 245.1 Dompdf Installation and Basic Usage
- 245.2 Dynamic Digital Signature and Watermarks in PDF and EPUB Files
- 246. Document and Image Processing via OCR
- 246.1 Basic Installation and Configuration
- 246.2 Controller Implementation
- 246.3 Blade View and Form
- 246.4 Use Case Analysis and Technical Limitations
- 247. How to Create Interactive Tours and User Guides in Laravel Using Driver.js
- 247.1 Configuration and Customization Options
- 248. Invoice Generation in Laravel with Laravel Invoices
- 248.1 Installation and Basic Configuration
- 248.2 Global Invoicing Configuration
- 248.3 Controller Implementation
- 248.4 Issuing the PDF Document
- 249. Cookie management and GDPR compliance with Laravel Consent
- 249.1 Script management and legal compliance
- 250. My Approach: Workflow, Not "Model Theory"
- 251. Laravel + AI: Laravel Boost and SDK
- 252. Solo Programming vs. Agent Teams
- 253. The Challenge of "Programming Without Programming"
- 254. Tools and Software: My Pragmatic Selection
- 255. OpenCode: The Coding Engine
- 256. Why Not Other Options?
- 257. Antigravity IDE: My New Favorite IDE
- 258. Installation and Configuration on Windows, Mac, and Linux
- 259. Essential Extensions
- 260. Laravel + AI: Understanding the Ecosystem (Boost vs. SDK)
- 260.1 How Do We Use AI Today?
- 260.2 Laravel Boost: Your High-Quality Code Assistant
- 260.3 Laravel AI SDK: Integrating AI into Your App
- 260.4 In Summary
- 261. Laravel Boost: Installation and Initial Configuration
- 261.1 1. Package Installation
- 261.2 2. Configuration and Assets
- 261.3 Customizing Boost: Skills, Guidelines, and MCP
- 261.4 🔌 Integration with Third-Party Packages
- 261.5 Agent Selection (OpenCode vs. Gemini)
- 262. Introduction to OpenCode: Your Terminal Agent
- 262.1 Commands and Shortcuts
- 262.2 Understanding MCPs and Models
- 262.3 Which Model to Choose?
- 262.4 Planning Mode vs. Building Mode
- 262.5 The Skills: Laravel Boost's Superpower
- 263. What Are Skills and Guidelines?
- 263.1 1. Skills (Capabilities)
- 263.2 2. Guidelines (Standards or Rules)
- 263.3 Comparison Table: Guidelines vs. Skills
- 264. AGENTS.md
- 264.1 Custom Configuration
- 265. Without Laravel Boost vs. With Laravel Boost
- 265.1 Boost's result was superior because:
- 265.2 Ninja Reflection: The Stone vs. The Kunai
- 266. MCP: The Nervous System of Your AI
- 266.1 Practice: The Browser Error vs. The "Guessing" AI
- 266.2 The Pizza Analogy: Why Use MCP?
- 267. Workflow: Git as Your Safety Net
- 268. Invoking Skills: Implicit vs. Explicit Use
- 268.1 Case Study: Comprehensive Project Review
- 269. Expanding Horizons: Third-Party and Custom Skills
- 270. Create Your Own "Specialty"
- 271. Conclusion
- 272. Installation and Configuration of the Laravel AI SDK
- 272.1 First steps:
- 272.2 The Heart of the SDK: The Agents
- 273. Google Antigravity IDE: Power without Complications
- 273.1 The big difference: Integration vs. Personalization
- 273.2 Configuration and Rules (Custom Instructions)
- 273.3 Agents: Planning vs. Fast (Phase)
- 273.4 My Workflow
- 273.5 Visual advantages
- 273.6 Which one to choose? OpenCode vs. Antigravity IDE
- 273.7 Redesign Practice with Google Antigravity IDE
- 273.8 Implement confirmation dialog when deleting
- 273.9 Conclusion
- 274. Laravel SDK AI
- 274.1 How to use a Local LLM with Laravel AI SDK and Jan.ai or LM Studio?
- 274.2 What is a local LLM?
- 274.3 Tools and Requirements
- 274.4 Hardware Considerations (RAM vs. VRAM)
- 274.5 Local Server Configuration
- 274.6 Integration with Laravel AI SDK
- 274.7 Configuration in the .env
- 274.8 Connect a Local LLM with Jan.ai to a Python app with Flask
- 274.9 Making the request
- 274.10 Execution in code
- 274.11 Which local model to select
- 274.12 Configure Jan.IA or LM Studio
- 274.13 Configure Ollama
- 274.14 Practical Anonymous Agents Examples: Chat, Code, and Sentiment Analysis
- 274.15 Final observations about the responses
- 274.16 Structured Agents: Beyond Anonymous Agents
- 274.17 The importance of the Schema
- 274.18 The Quiz Agent: From Example to Real-World Utility
- 274.19 Conclusion and Next Steps
- 274.20 AI Agent + Work Queues
- 274.21 Source Support (Images, Texts, and Audios) for Agents
- 274.22 Document Management and Vector Databases
- 274.23 RAG Implementation: Turning Documents into Intelligent Answers
- 274.24 What is the "Context Window"?
- 274.25 RAG to the rescue: The open-book exam
- 274.26 The limitations of keyword search
- 274.27 Vectors, Embeddings, and closeness of meaning
- 274.28 A vital concept: Chunks
- 274.29 Agent Configuration and Attributes
- 274.30 Conclusion and Next Steps
- 275. Introduction to Embeddings and Vector Databases
- 275.1 The Problem of Limited Context
- 275.2 What is an Embedding and a Vector Database?
- 275.3 Necessary Tools
- 275.4 What is a Vector Column?
- 275.5 Helper Functions for Embeddings
- 276. Creating a Chat Assistant with Agents and Stream
- 276.1 Considerations and Resources
- 276.2 Agent Configuration
- 276.3 Implementation with Livewire and Streaming
- 277. RAG Implementation for the Previous Chat
- 277.1 The Context Window Problem
- 277.2 Data Structure: Markdown vs. PDF
- 277.3 The Process: Data Ingestion in 4 Steps
- 277.4 Texts of 50 characters or more
- 277.5 The Agent and Context Middleware
- 277.6 Instructions for Running the Project:
- 278. The Potential of Tools in Laravel AI SDK
- 278.1 What are Tools and why do we need them?
- 278.2 The problem of isolated LLMs
- 278.3 Technical Implementation in Laravel
- 278.4 Practical Case: Appointment Agent (AppointmentAgent)
- 278.5 Limitation in Local Environments
- 278.6 Failover and its use in Rate Limiting
- 278.7 Attributes
- 278.8 Events and Decoupling
- 279. Extra: How to connect Laravel with ChatGPT step by step (OpenAI API)
- 279.1 1. Install the package for HTTP requests
- 279.2 2. Get the OpenAI API key
- 279.3 3. Create the view
- 279.4 4. Controller: Make the request to the API
- 279.5 5. Set the key in .env
- 280. Introduction to the MCP Protocol in Laravel and Integration with AI Agents
- 281. What is an MCP?
- 281.1 General Architecture and Components of an MCP Server
- 281.2 Implementation of the Main Server
- 281.3 Development of Tools and Parameter Validation
- 281.4 Exposing Resources and Prompt Templates
- 281.5 Route Registration and Unit Tests
- 281.6 What Was Created
- 281.7 Commands Used
- 281.8 How to Use It
- 281.9 Why the Browser Returns 405 and How to Test Properly
- 281.10 Additional Data Worth Knowing
- 282. Why should we make tests?
- 282.1 What to test?
- 283. Testing with Pest/PHPUnit
- 283.1 Understanding the tests
- 283.2 HTTP requests
- 284. Recommendations
- 285. Configure database for testing
- 286. Testing HTTP Requests and Responses
- 286.1 Rest Api with PHPUnit
- 286.2 Web App
- 287. Testing with Pest/PHPUnit
- 288. Unit Testing with Pest
- 289. What is TDD?
- 290. Integration with Node
- 291. Files and folders to publish
- 292. Simplify or discard the .env file
- 293. Upload the project to hosting
- 294. Finish project setup
- 294.1 Configure the database
- 294.2 .htaccess
- 294.3 Conclusion
- 294.4 Generate optimized files
- 295. Railway
- 295.1 Usage
- 295.2 Viewing the repository from GitHub
- 295.3 Publish project from GitHub
- 296. Database
- 296.1 Connect to the database in production
- 296.2 Execution commands
- 297. Where to go from here
- 298. 1. The Principle of Data Independence
- 299. 2. Synchronous Communication via HTTP and the Service Client Pattern
- 299.1 Encapsulation with UserServiceClient
- 300. 3. User Service Endpoints
- 301. 4. Task Management and Validation in TaskController
- 302. 5. Considerations on Resilience and Graceful Degradation
- 303. 6. The complete workflow, step by step
- 304. 7. Response Matrix
- 305. 8. How to Use It
- 306. 9. Tests
- 307. 10. The Proof That It Is a Distributed System
- 308. 11. Limitations of This Design
- 309. Conclusion and Next Steps in Distributed Architectures
- 310. Authentication and Authorization in a Microservices Architecture
- 310.1 1. The Centralized Authentication Flow
- 310.2 2. Implementation in the User Service
- 310.3 3. Request Protection via Middleware in the Task Service
- 310.4 4. Rest of the Task Module
- 310.5 5. Scalability Considerations and Challenges in Microservices
- 311. Rate Limiting and Brute Force Protection
- 311.1 1. Request Limiter Configuration
- 311.2 2. Implementing the Rate Limiter in Code
- 311.3 3. Configuration File and Route Assignment
- 312. Observability and Traceability in Microservices
- 312.1 1. The Correlation ID Concept (X-Request-Id)
- 312.2 2. Injection and Log Context Middlewares
- 312.3 3. Header Propagation in the HTTP Client
- 312.4 4. Event Logging and Health Check
- 313. Modularization and Code Reuse with Local Composer Packages
- 313.1 1. Initialization and Structure of the Local Package
- 313.2 2. The Service Provider and Automatic Discovery
- 313.3 3. Linking the Local Package in Consumer Applications
- 313.4 4. Publishing Configuration Files
- 313.5 5. Step-by-Step Migration
- 314. Integration of a Third Microservice: The Billing Service
- 314.1 1. Application Independence and Session Isolation
- 314.2 2. Authentication Challenges in Distributed Environments
- 315. SSO in Microservices: A Single Login with a Dedicated Identity Provider
- 315.1 The Session Has to Live in a Single Place
- 315.2 The Problem, Live
- 315.3 Three Controllers That Live in the Package
- 315.4 Logout: Close Session and Revoke Token
- 315.5 SsoStartController: The Flow Start
- 315.6 The Middleware That Queries the IdP
- 315.7 The IdP: /authorize
- 315.8 The SSO Code: Whitelist, Hash, and TTL
- 315.9 The RP Callback: Exchanging the Code for the Token
- 315.10 The Exchange: /api/sso/exchange
- 315.11 Why Was Billing Already Authenticated?
- 315.12 Closing
- 316. Resiliency in microservices with Laravel: circuit breaker, retries, and cache against IdP downtime
- 316.1 What on earth is resiliency?
- 316.2 Getting down to work: the CircuitBreaker class
- 316.3 Configuration: five resiliency values
- 316.4 Where it hooks in: the UserServiceClient client
- 316.5 Retries: the for loop
- 316.6 The final stretch of the for: who lives, who dies
- 316.7 What gets retried and what doesn't?
- 316.8 The second optimization: caching in the middleware
- 316.9 The numbers: what is gained
- 317. JSON Web Token for Authentication: Local Verification
- 317.1 The previous flow is maintained
- 317.2 The Identity Provider: that's where the change is
- 317.3 Comparing with what we had before
- 317.4 The new IdP files
- 317.5 The kid and the public key cache
- 317.6 The test: with the user service turned off
- 317.7 Problem
- 318. Queues and Events: Asynchronous Communication Between Microservices
- 318.1 The package and its configuration
- 318.2 The custom outbox migration
- 318.3 The package command and middleware
- 318.4 The outbox classes
- 318.5 The event: TaskCompleted
- 318.6 The task-service side flow
- 318.7 The cron (simulated in development) and the two processes
- 318.8 The dispatch flow and the entry into billing
- 318.9 The databases and the moment of truth
- 319. Asynchronous Communication Between Microservices with RabbitMQ and Laravel Queue
- 319.1 1. What is RabbitMQ and why use it
- 319.2 2. Deploying the Container with Docker Compose
- 320. 3. Configuring the Queue Driver in Laravel
- 320.1 4. Queue Processing and Service-to-Service Communication
Laravel 13 from scratch: Full Stack web development with Vue 3 and Tailwind CSS
Real Full Stack Web Development with Vue 3, Tailwind CSS, REST API, Role Management with Spatie, and Testing with Pest
This book is for anyone who wants to build their first applications in Laravel 12, this writing offers a step-by-step introduction, knowing the most relevant aspects and focused above all on practice.
Integration with other packages, Vue 3, Oruga UI, Tailwinds.CSS, build Rest Apis, CRUDs and much more.
Minimum price
$35.00
$45.00
You pay
Author earns
About
About the Book
Learn to develop full-stack web applications with Laravel 13, Vue 3, and Tailwind CSS, from installation to production deployment.
Over 24 chapters, you'll build complete CRUD applications, a secure REST API with Sanctum, authentication with Laravel Breeze, roles and permissions with Spatie, and a Vue 3 SPA frontend that consumes your own API.
You'll also see how to improve performance with caching and queuing, write tests with PHPUnit and Pest, and prepare your application for real-world environments.
Map
Chapter 1 - Required Software and Installing the Tools: The necessary software is explained, and its installation to develop in Laravel on Windows with Laragon or Laravel Herd or on MacOS Laravel Herd and MacOS and Linux with Laravel Sail and Docker.
Chapter 2 - Knowing general aspects of Laravel: We will talk about Laravel, we will create a project, we will configure the database, we will know basic aspects of the framework and finally we will know the main element that are the routes.
Chapter 3 - Routes, controllers, and views: We will take the first steps with the routes and the views, to start seeing screens through the browser; we’ll also cover using controllers with views; redirects, directives and blade as template engine.
Chapter 4 - Migrations: We will know the use of migrations, as a central element to be able to create the models, which are the layer that connects to the database, to a particular table; and, to have this table, we need the migrations.
Chapter 5 - MVC and CRUD: We will get to know the MVC, which is the heart of the framework, and we will make a few examples that will help us to continue advancing.
Chapter 6 - CRUD and forms: We will create a simple CRUD app, we will learn to work with the MVC, resource type controllers, lists, pagination, form validations, database access among other related aspects.
Chapter 7 - Session messages and flash: We will know how to send flash type session messages which we will use to confirm CRUD operations and session usage.
Chapter 8 - Routes: This chapter is oriented to learn the use of routes; which in Laravel are very extensible and full of options for groupings, types and options.
Chapter 9 - Authentication with Laravel Fortify (and Breeze): In this chapter, we will create an authentication system and everything that this entails for our application by installing Laravel Fortify with login and registration and creating role-based protection to handle different types of users in specific modules of the application.
Chapter 10 - Introduction to Tailwind CSS and Components: Let's improve our application's design by creating reusable styles for tables, buttons, layout, and more.
Chapter 11 - Common operations in Eloquent (ORM) and Query Builder: In this chapter, we will learn about some common Eloquent operations applied to the database using query builders.
Chapter 12 - Relationships in Laravel: We will see how to handle one-to-one, one-to-many, many-to-many, and polymorphic relationships to reuse models that have the same behavior.
Chapter 13 - Blade and Components in Blade: We will present the use of components in Laravel as a central element for creating a modular application and the use of the Blade template engine.
Chapter 14 - Seeders and Factories: We will learn to generate test data through classes using the seeder system that the framework incorporates.
Chapter 15 - Rest API: We will learn how to create a CRUD type Rest Api and additional methods to perform additional queries. Also we are going to protect the CRUD type Rest Api with Sanctum, using SPA and token authentication.
Chapter 16 - Consume Rest Api from Vue 3: We are going to consume the Rest Api through a CRUD application in Vue 3 using axios requests and web components with Oruga UI; we will also see the process of uploading files. Also we will protect the application in Vue with login required to access its different modules using SPA authentication or Laravel Sanctum tokens.
Chapter 17 - Cache: We are going to learn how to manage the cache, to save access data to improve application performance and avoid bottlenecks with the database.
Chapter 18 - Gate and Policies (Authorization and Authorization): We are going to learn how to manage access policies to certain application modules through Gates and Policies.
Chapter 19 - Roles and Permissions (Spatie): We will see how to manage the permissions and roles of a user to authorize certain parts of the application with a flexible scheme widely used in web applications of all types using Spatie, in this chapter we will learn how to carry out this integration and we will develop a module to manage this permit.
Chapter 20 - General features: In this chapter, we will see how to handle configurations, environment variables, create help files, send emails, logging, collections, Lazy and Eager Loading, mutators and props, queues and jobs and topics of this type that as we discussed before , are fundamental in the development of web applications.
Chapter 21 - Essential packages: In this chapter, we will learn about important packages in Laravel to generate excel, qrs, seo, PayPal, detect mobile navigation among others.
Chapter 22 - AI applied to Laravel: Laravel Boost and Laravel AI SDK: We present the use of AI in Laravel, using the two main packages we have available, Laravel Boost and Laravel SDK AI, and how we can use it with other tools like OpenCode.
Chapter 23 - Testing: We will learn how to create unit and integration tests in the Rest Api and the blog application using PHPUnit and Pest.
Chapter 24 - Deployment: We will talk about how you can push your Laravel application to production.
I invite you to visit my website:
desarrollolibre.net
And get to know my work.
Feedback
Author
About the Author
Andrés Cruz Yoris, Licenciado en Computación, con más de 10 años de experiencia en el desarrollo de aplicaciones web en general; trabajo con PHP, Python y tecnologías del lado del cliente como HTML, JavaScript, CSS, Vue entre otras; y del lado del servidor como Laravel, Flask, Django y Codeigniter. También desarrollo con Android Studio, xCode y Flutter para la creación de aplicaciones nativas para Android e IOS.
Pongo a tú disposición parte de mi aprendizaje, reflejado en cada una de las palabras que componen mis libros sobre el desarrollo de aplicaciones en general.
Translations
Translations
Languages
Contents
Table of Contents
Get the free Community Edition
You can get the free Community Edition in PDF or EPUB just by sharing your name and email address with the author.
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.