Thanks for this video! I'm not new to Laravel, but I have tried to read through the service container stuff in the docs, and even with my existing knowledge of Object Oriented Programming, I always found this stuff a bit esoteric. Thanks for helping to ground our understanding of these concepts! You're one of the best Laravel UA-camrs for sure. I'd love to see you do a series where you build a Laravel package and construct a custom Service Provider for it. Thanks again!
Hey, you described the service providers in detail. Thank You. Can you please suggest me some examples of when to create custom providers. It will be very much helpful.
suppose you have a class A that has many methods (for example: sayHello()) and you want to access all the methods of class A statically then you need to create a providers for class A (for example TestServiceProvider) and also you need to create a facade (for example TestFacade). Now any where you can access class A methods like Test::sayHello(); through importing TestFacade.
if you have custom services(beyond laravel can provide) like connection, mail using api, etc. you can do these. That's why it was called service provider
if I need to bind a key to something, say key1, then can I register it to any of these app service providers (like auth, broadcast, database)? or does it have to be specifically AppServiceProvider only?
Please explain it completely there's a boot method as well and try to explain the real reason of this feature. adding one element in container doesn't make any sense for learning.
Thanks for this video! I'm not new to Laravel, but I have tried to read through the service container stuff in the docs, and even with my existing knowledge of Object Oriented Programming, I always found this stuff a bit esoteric. Thanks for helping to ground our understanding of these concepts! You're one of the best Laravel UA-camrs for sure. I'd love to see you do a series where you build a Laravel package and construct a custom Service Provider for it. Thanks again!
Yeahhh I will do that also, Thanks for watching. you can visit bitfumes.com/courses for more such videos and courses.
Thank you. Your teachings are greatly appreciated here in Kenya.
i guess it's kinda randomly asking but does anybody know of a good place to watch newly released movies online?
@@magnuspayton3059 remove all numbers: g1o2o3j4a5r6a7.8t9o
@Magnus Payton I dunno I use Flixportal. just search on google after it :) -achilles
@Achilles Kaysen thanks, I signed up and it seems like they got a lot of movies there :D I appreciate it !!
@Magnus Payton happy to help xD
Very nice and soft speaking . Easy to understand and explained well
Thank you very much brother! your explanations are really simple and clear! Much helpful, keep up the good work
Thank you very much brother.
Thank you Bitfumes
you are the best
It will be very much helpful.
thanks you so match from you
Thank You !! Very insightful for beginners like us.
Yeahhh, thanks for watching, you can visit bitfumes.com/courses for more such videos and courses.
very good, great
Hey, you described the service providers in detail. Thank You.
Can you please suggest me some examples of when to create custom providers. It will be very much helpful.
suppose you have a class A that has many methods (for example: sayHello()) and you want to access all the methods of class A statically then you need to create a providers for class A (for example TestServiceProvider) and also you need to create a facade (for example TestFacade). Now any where you can access class A methods like Test::sayHello(); through importing TestFacade.
@@charansingh3930 Why can't we just use only facade class extending a base facade class in that case?
@@RohitSingh-ph1eo yes but you have to register or bind your facade class in your custom created service provider.
Service probiders can be used to register any service in laravel's service conainer.
thanks !!!
what you use font for editor ?
Please make a video to understand the concept of IOC and dependence injection
Everything is clear, thank you. However, I cannot understand in what cases we should use this.
if you have custom services(beyond laravel can provide) like connection, mail using api, etc. you can do these. That's why it was called service provider
can you explain how to echo it in the blade file in front end ? this will complete the tutorial actually .
if I need to bind a key to something, say key1, then can I register it to any of these app service providers (like auth, broadcast, database)?
or does it have to be specifically AppServiceProvider only?
this is great
thanks for watching, please check bitfumes.com/courses for more advanced courses
Great video but can you provide a real world example of when i would need to use and create a service provider in laravel.
My Question is that we can use services provider like code-igniter library. For example i want to for create the API library.
explain diff between service container and service provider
Hi ,Can you make a video about service container and providers using a real life example , Do you have any advanced Laravel courses in Udemy
Bro make a video on how to integrate sms country into laravel and how to send bulk sms.
sir which extentions u r using for laravel development please make a video
VSCode extension ???
@@Bitfumes yes sir l like that one php class u click and it open that class
its php intelliphense extension on vscode
@@Bitfumes i also use that one bt it's take so long for search vendors classes and i saw in ur it's working very fast
sir how we can get auth user in service provider??
not for views
can you send me playlists url please
Please explain it completely there's a boot method as well and try to explain the real reason of this feature. adding one element in container doesn't make any sense for learning.
how the fuck app->make('Hello') works on you, shouldnt it be $this->app->make('Hello') , and btw it dont works on me anyway