20 Laravel Features I Never Knew About (Until I Read ALL the Docs!)

20 Laravel Features I Never Knew About (Until I Read ALL the Docs!)

16.193 Lượt nghe
20 Laravel Features I Never Knew About (Until I Read ALL the Docs!)
Even after years of working with Laravel, I thought I knew it all... until I didn't! I decided to read through the ENTIRE Laravel documentation, and wow - I'm honestly amazed at what I discovered. In this video, I'm sharing 20 features that caught me completely off guard (and I make Laravel videos for a living! 😅). These aren't just basic tips - these are genuine "how did I not know this?" moments that made me appreciate Laravel even more. #1 Environment File Reserved Keywords ➡️ https://laravel.com/docs/12.x/configuration#environment-configuration #2 Configuration Value Type Casting ➡️ https://laravel.com/docs/12.x/configuration#accessing-configuration-values #3 Multi-Server Maintenance Mode ➡️ https://laravel.com/docs/12.x/configuration#maintenance-mode-on-multiple-servers #4 Service Container BindIf Method ➡️ https://laravel.com/docs/12.x/container#binding-basics #5 MakeWith Dependency Resolution ➡️ https://laravel.com/docs/12.x/container#the-make-method #6 Route Parameter Constraint Helpers ➡️ https://laravel.com/docs/12.x/routing#parameters-regular-expression-constraints #7 Request Input Type Casting ➡️ https://laravel.com/docs/12.x/requests#retrieving-stringable-input-values #8 Collection View Rendering with Each Method ➡️ https://laravel.com/docs/12.x/blade#rendering-views-for-collections #9 Blade Component Data Short Syntax ➡️ https://laravel.com/docs/12.x/blade#short-attribute-syntax #10 Laravel Pennant Logging Features ➡️ https://laravel.com/docs/12.x/pennant #11 Artisan Command Option Shortcuts ➡️ https://laravel.com/docs/12.x/artisan#option-shortcuts #12 Array Support for Artisan Commands ➡️ https://laravel.com/docs/12.x/artisan#input-arrays #13 PromptsForMissingInput in Artisan Commands ➡️ https://laravel.com/docs/12.x/artisan#prompting-for-missing-input #14 Laravel Prompts Autocomplete ➡️ https://laravel.com/docs/12.x/artisan#auto-completion #15 Flexible Caching System ➡️ https://laravel.com/docs/12.x/cache#swr #16 Basic Authentication Middleware ➡️ https://laravel.com/docs/12.x/authentication#http-basic-authentication #17 Artisan DB Command ➡️ https://laravel.com/docs/12.x/database#connecting-to-the-database-cli #18 Custom Pivot Table Names in Eloquent ➡️ https://laravel.com/docs/12.x/eloquent-relationships#customizing-the-pivot-attribute-name #19 Dynamic Eloquent Relationships ➡️ https://laravel.com/docs/12.x/eloquent-relationships#dynamic-relationships #20 Laravel Dusk ➡️ https://laravel.com/docs/12.x/dusk #21 Database Assertions ➡️ https://laravel.com/docs/11.x/database-testing#available-assertions 0:00 Introduction 1:31 Environment File Reserved Keywords 1:57 Configuration Value Type Casting 2:32 Multi-Server Maintenance Mode 3:51 Service Container BindIf Method 4:52 MakeWith Dependency Resolution 5:48 Route Parameter Constraint Helpers 6:51 Request Input Type Casting 7:50 Collection View Rendering with Each Method 10:18 Blade Component Data Short Syntax 11:34 Laravel Pennant Logging Features 12:23 Artisan Command Option Shortcuts 12:46 Array Support for Artisan Commands 13:11 PromptsForMissingInput in Artisan Commands 16:13 Laravel Prompts Autocomplete 19:30 Flexible Caching System 23:18 Basic Authentication Middleware 26:01 Artisan DB Command 27:04 Custom Pivot Table Names in Eloquent 29:32 Dynamic Eloquent Relationships 32:51 Laravel Dusk 33:24 Database Assertions