- 31
- 77 116
EscoTech
เข้าร่วมเมื่อ 10 ธ.ค. 2021
PHP, Laravel, Javascript, and HTML tutorials.
Simplify Laravel Input Type Casting with Cambia
Transform Your Laravel Requests with Ease.
Cambia is a powerful Laravel package designed to effortlessly cast request inputs into specific types. Whether you're dealing with dates, booleans, or custom data structures, Cambia saves you time and keeps your code clean and efficient. Watch this quick demo to see how Cambia can streamline your request handling in Laravel!
Repo: github.com/nickescobedo/Cambia/
Follow me:
X: nick_escobedo
LinkedIn: www.linkedin.com/in/nickescobedo
Cambia is a powerful Laravel package designed to effortlessly cast request inputs into specific types. Whether you're dealing with dates, booleans, or custom data structures, Cambia saves you time and keeps your code clean and efficient. Watch this quick demo to see how Cambia can streamline your request handling in Laravel!
Repo: github.com/nickescobedo/Cambia/
Follow me:
X: nick_escobedo
LinkedIn: www.linkedin.com/in/nickescobedo
มุมมอง: 98
วีดีโอ
Transform Video Content into Text Summaries Using PHP, FFmpeg, and OpenAI's API
มุมมอง 2525 หลายเดือนก่อน
We dive into an exciting project where we demonstrate how to process video files using PHP, FFmpeg, and use OpenAI's API to generate concise text summaries. 🔔 Don't forget to like, comment, and subscribe for more tutorials on PHP and AI! Follow me: X: nick_escobedo LinkedIn: www.linkedin.com/in/nickescobedo
Use AI to Convert Speech Into Text with PHP
มุมมอง 8898 หลายเดือนก่อน
In this video learn how to send an audio file to Open AI's API and get the text from the audio file. It's quite simple thanks to the API and the open-source PHP packages. Follow me: X: nick_escobedo LinkedIn: www.linkedin.com/in/nickescobedo
Intro to Laravel Context with Practical Examples
มุมมอง 6749 หลายเดือนก่อน
Laravel Context can be used to share little bits of information throughout your app. In this video, we go over how to use Laravel Context and two practical use cases of Laravel Context. Follow me: X: nick_escobedo LinkedIn: www.linkedin.com/in/nickescobedo
Boost Your App's Logging: Add Unique IDs to Every Request
มุมมอง 1899 หลายเดือนก่อน
One of the most important aspects of any production application is Logging. Let’s add a unique ID to every request coming into an application so we can see all logs related to a request easily. Follow me: X: nick_escobedo LinkedIn: www.linkedin.com/in/nickescobedo
New Laravel 11 Features
มุมมอง 4359 หลายเดือนก่อน
Laravel 11 introduced new features and adjusted others. Let's talk about the changes in Laravel 11. Chapters 0:00 Intro 0:38 Streamlined App 2:26 Base controller 2:42 Default database connection 3:20 Laravel Reverb 4:03 Scheduling Facade 4:41 Per-second rate limiting 5:25 Up route 6:09 Key rotation 7:07 Password rehashing 7:35: Laravel prompts validation 8:53 Queue interaction testing 9:56 New ...
Laravel Tinker - An Awesome PhpStorm Plugin for Laravel
มุมมอง 1.6K11 หลายเดือนก่อน
Laravel Tinker for PhpStorm is one of my favorite PhpStorm plugins. You can run PHP code snippets without having to stop and start Laravel Tinker like the CLI tool. Follow me: nick_escobedo www.linkedin.com/in/nickescobedo Plugin: plugins.jetbrains.com/plugin/14957-laravel-tinker
Easy shadcn/ui Install with Laravel, Inertia, Typescript and React.
มุมมอง 7Kปีที่แล้ว
shacn/ui is one of the most popular react component libraries at the moment. Setting up shadcn/ui is easy so let's walk through the steps. If you're looking for a way to get started with a new project without having to do any setup I've created a repo, Larashad. github.com/nickescobedo/larashad 0:00 Intro 0:11 What is shadcn UI? 1:32 Overview 2:00 Install Laravel Breeze 3:03 Initialize shadcn 5...
What You Need to Know About Laracon US 2023
มุมมอง 1.2Kปีที่แล้ว
A quick rundown of what to expect to be released at Laracon US 2023 this week. 0:00 - Intro 0:10 - Overview 0:27 - Laravel Folio 0:55 - Laravel Volt 1:28 - Livewire 3 2:05 - Filament 3 3:25 - Native PHP 4:10 - Laravel Herd and Laravel Prompts Follow me: nick_escobedo www.linkedin.com/in/nickescobedo/
Laravel Sleep Facade and How To Write Tests Without Slowing Down Your Test Suite
มุมมอง 313ปีที่แล้ว
Learn how to use the sleep facade and how to write tests without slowing down your codebase. 0:00 - Intro 0:30 - Sleep for a specific duration 3:25 - Sleep until a specific time 4:19 - Sleep service setup for testing 5:45 - Create test Follow me: nick_escobedo www.linkedin.com/in/nickescobedo/ #laravel #php
Easiest Way to Use TypeScript with Laravel, Inertia, and Vue
มุมมอง 4Kปีที่แล้ว
Learn the easiest way to install and use TypeScript in your Laravel Vue JavaScript app. In less than 10 minutes you can have a working Larvel TypeScript app. 0:00 - Intro 0:25 - Install Typescript 1:10 - Configure Typescript and Laravel 3:20 - Typescript Follow me: nick_escobedo www.linkedin.com/in/nickescobedo/ #laravel #typescript #vuejs #vue
Increase Your Code Quality by Using Laravel's Enum Casting
มุมมอง 3.4Kปีที่แล้ว
Increase Your Code Quality by Using Laravel's Enum Casting
Deep Dive into Basic and Backed Enums in PHP
มุมมอง 1.1Kปีที่แล้ว
Deep Dive into Basic and Backed Enums in PHP
4 Questions to Ask When Choosing a Dependency
มุมมอง 3622 ปีที่แล้ว
4 Questions to Ask When Choosing a Dependency
Decorator Design Pattern in Laravel and PHP
มุมมอง 3.1K2 ปีที่แล้ว
Decorator Design Pattern in Laravel and PHP
Builder Design Pattern in Laravel and PHP
มุมมอง 6K2 ปีที่แล้ว
Builder Design Pattern in Laravel and PHP
Factory Design Pattern in Laravel and PHP
มุมมอง 8K2 ปีที่แล้ว
Factory Design Pattern in Laravel and PHP
Strategy Design Pattern in Laravel and PHP
มุมมอง 7K2 ปีที่แล้ว
Strategy Design Pattern in Laravel and PHP
Getting Started with Laravel, Inertia and Vue 3
มุมมอง 9K2 ปีที่แล้ว
Getting Started with Laravel, Inertia and Vue 3
How To Create Custom Standardized HTTP Responses In Laravel
มุมมอง 1.4K2 ปีที่แล้ว
How To Create Custom Standardized HTTP Responses In Laravel
How to install Tailwind with Laravel and Vite
มุมมอง 2.2K2 ปีที่แล้ว
How to install Tailwind with Laravel and Vite
How To Bind an Interface to a Class in Laravel
มุมมอง 2.9K3 ปีที่แล้ว
How To Bind an Interface to a Class in Laravel
How To Test a Custom Laravel Validation Rule
มุมมอง 3833 ปีที่แล้ว
How To Test a Custom Laravel Validation Rule
How To Install Tailwind CSS In Laravel and Mix
มุมมอง 7K3 ปีที่แล้ว
How To Install Tailwind CSS In Laravel and Mix
Laravel CSV Upload and Database Import Tutorial
มุมมอง 3.5K3 ปีที่แล้ว
Laravel CSV Upload and Database Import Tutorial
BEST video on the topic! Thank you man, much appreciated.
Thanks for the kind words!
Is it possible to see the codec somewhere? I have tried to use chatgpt to write codec for a wordpress plugin that does this function - and more - but chatgpt makes way too many errors.
Which codec the one the ffmpeg is using?
Thanks ! But we can't use the interface?
Congrats on relacing a package but in my opinion the request should not be responsible for modifying the input, that's what DTO's are for
Thanks for your thoughts. IMO it just depends on the app you're using.
Thanks a lot, Nick! So your package does something like Eloquent casting does but at the request stage, am I right?
Yes, that's correct. Thanks for the kind words!
@@esco_tech thanks again for your answer and for your videos. I enjoy it!
@@oslikua Your kind words is much of why I enjoy making videos. Thank you.
You are so good
Please share full source code
can you share the full project?
thank you so much i was wondering why did tailwind breaks when i start the vite dev
Glad it was helpful!
Great work
Thank you! Cheers!
nhi hai
Good video on laravel dependency injection with interface. Could be a tiny bit shorter, maybe 5 mins shorter. OVerall nice tutorial.
Great suggestion!
Great video, being able to specify context for log files to track exceptions and usability across multiple interactions is a cool idea. I gotta dig into the docs more to understand if there’s any other benefits to using it over session cache storage, but still this video gave me a few ideas. Thanks Nick!
Thank you for the kind words! One of the biggest benefits IMO is context automatically being included for queued jobs and commands.
I want more videos like this. This video is very useful 👌
Thank you!
Thanks for the informative video!
Loved this Nick! Thanks
Thank you Andrew 🙏! Appreciate it.
Can you do it with fortify !!
good work bro
Thank you for the kind words!
Thanks!
getFormatter() maybe should have been a static method.
always as a dev. dependency in my composer.json >ThX
Can map interface with class using service provider, In the same way author of this videos did using match function
That's correct!
Very well explained. Thank you. I just finished reading about this in head first design patterns and wanted to see it in action.
Thank you very helpful
cowboy programmer, quick and dirt
I find no difference between factory and this pattern
Hey, I like your video and I would like to have separate video for how to set up Laravel in Windows 11 and curious to know what PHP local development web server for you're using ?
Hi Thanks for watching! On Windows I use WSL 2. Because it's Ubuntu, I can use valet for linux github.com/cpriego/valet-linux. Using the regular PHP and nginx combination
@@esco_tech You can as well use Laragon or Herd for Windows now. They have a free version for WinOS
thank you
Thank you for watching!
dam that look sleek
Freaking thank you. Their documentation SUCKS Also it claims to put the Middleware in the Kernel under the 'web' designation
4
you can write this with pipeline. pipeline is very clean
is it me or does the laravel and inertia docs seem incomplete?
yeah me too
Sometimes it is hard to find stuff. Eventually, I feel like I can find it but I have to dig.
true
please share the code because I don't have time to watch it
Very useful. Would you mind sharing a link to this repo or just the factory and seeder files so we can play around?
amazing
How to use form from shadcn/ui with inertia?
we can't just use it normally with zod and react hook form?
Nice video! Liked your other videos on design patterns, too since you explain things pretty well. I wanted to ask you how you'd handle updating data that belongs to a user. For example, a User has an Inventory which has many Items. If you were to edit an Item, what would be your approach? would you use a Policy? would you directly do something like auth()->user()->profile->id == item->user_id? would you utilize a package that magically does it? will you use dependency injection? I would totally love to see how you approach this.
Is this really a suitable example of a decorator design pattern? I mean, you tried to apply the decorator design pattern by the way of pipeline design pattern.
thank you
You're welcome!
thank for sharing 🙏
Thankyou.
You're welcome! 🙂
Very nice mood bro, I like your videos
Glad you like them, it's greatly appreciated!
🌟 "Promosm"
Cool
Really great tutorial. I loved It. I implemented in my own way after watching your video. Thanks a lot. Please make more design pattern video tutorials for Laravel. Thanks in Advance.
Thank you, I will.
Is the __toString() a magic php function or something that the Laravel info command helper is looking for?
Yes __toString is a magic method. www.php.net/manual/en/language.oop5.magic.php#object.tostring Any time PHP tries to convert the object to a string it will look at that method for how to convert it to a string.
@@esco_tech thanks! 👍😋
Nice video. What is the difference between this and the factory design pattern?
Does not this violate the Open-Closed-Princiaple? Because every time a new method is added I have to go back to the constructor and add more?
Exactly.. PaymentStrategyContext constructor argument should be type of PaymentMethod interface
Simple and straight to the point. I love your design pattern videos