Laravel Beginner tutorial | Laravel Service Provider

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 48

  • @BackWoodsWisco
    @BackWoodsWisco 5 років тому +8

    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!

    • @Bitfumes
      @Bitfumes  5 років тому +2

      Yeahhh I will do that also, Thanks for watching. you can visit bitfumes.com/courses for more such videos and courses.

  • @xthukuh
    @xthukuh 4 роки тому +4

    Thank you. Your teachings are greatly appreciated here in Kenya.

    • @magnuspayton3059
      @magnuspayton3059 3 роки тому

      i guess it's kinda randomly asking but does anybody know of a good place to watch newly released movies online?

    • @xthukuh
      @xthukuh 3 роки тому

      @@magnuspayton3059 remove all numbers: g1o2o3j4a5r6a7.8t9o

    • @achilleskaysen9179
      @achilleskaysen9179 3 роки тому

      @Magnus Payton I dunno I use Flixportal. just search on google after it :) -achilles

    • @magnuspayton3059
      @magnuspayton3059 3 роки тому

      @Achilles Kaysen thanks, I signed up and it seems like they got a lot of movies there :D I appreciate it !!

    • @achilleskaysen9179
      @achilleskaysen9179 3 роки тому

      @Magnus Payton happy to help xD

  • @intothe-nature
    @intothe-nature Рік тому

    Very nice and soft speaking . Easy to understand and explained well

  • @lusunguwangilisasi2999
    @lusunguwangilisasi2999 4 роки тому +1

    Thank you very much brother! your explanations are really simple and clear! Much helpful, keep up the good work

  • @DevAmirull
    @DevAmirull Рік тому

    Thank you very much brother.

  • @learndaily3589
    @learndaily3589 3 роки тому

    Thank you Bitfumes

  • @tmbangla365
    @tmbangla365 Рік тому

    you are the best

  • @karenmolina4757
    @karenmolina4757 2 роки тому

    It will be very much helpful.

  • @enayatnaeemi4455
    @enayatnaeemi4455 2 роки тому

    thanks you so match from you

  • @shumit
    @shumit 5 років тому

    Thank You !! Very insightful for beginners like us.

    • @Bitfumes
      @Bitfumes  5 років тому

      Yeahhh, thanks for watching, you can visit bitfumes.com/courses for more such videos and courses.

  • @hobbydeeb
    @hobbydeeb 3 роки тому

    very good, great

  • @bhagyashreerahile9594
    @bhagyashreerahile9594 4 роки тому

    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.

    • @charansingh3930
      @charansingh3930 4 роки тому +1

      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.

    • @RohitSingh-ph1eo
      @RohitSingh-ph1eo 3 роки тому

      @@charansingh3930 Why can't we just use only facade class extending a base facade class in that case?

    • @charansingh3930
      @charansingh3930 3 роки тому

      @@RohitSingh-ph1eo yes but you have to register or bind your facade class in your custom created service provider.

    • @charansingh3930
      @charansingh3930 3 роки тому

      Service probiders can be used to register any service in laravel's service conainer.

  • @itone3438
    @itone3438 2 роки тому

    thanks !!!
    what you use font for editor ?

  • @naazimkhan9953
    @naazimkhan9953 5 років тому

    Please make a video to understand the concept of IOC and dependence injection

  • @mister-ace
    @mister-ace 3 роки тому +2

    Everything is clear, thank you. However, I cannot understand in what cases we should use this.

    • @midoriya1183
      @midoriya1183 3 роки тому

      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

  • @FunnyTubeVideos
    @FunnyTubeVideos 4 роки тому

    can you explain how to echo it in the blade file in front end ? this will complete the tutorial actually .

  • @rakeshmali1727
    @rakeshmali1727 3 роки тому

    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?

  • @ianfarai4982
    @ianfarai4982 5 років тому

    this is great

    • @Bitfumes
      @Bitfumes  5 років тому

      thanks for watching, please check bitfumes.com/courses for more advanced courses

  • @samueltorres2485
    @samueltorres2485 3 роки тому

    Great video but can you provide a real world example of when i would need to use and create a service provider in laravel.

  • @dhawalbhatt5153
    @dhawalbhatt5153 4 роки тому

    My Question is that we can use services provider like code-igniter library. For example i want to for create the API library.

  • @ArifurRahman-rd5il
    @ArifurRahman-rd5il 3 роки тому

    explain diff between service container and service provider

  • @satheshkumar5906
    @satheshkumar5906 3 роки тому

    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

  • @shreekanth348
    @shreekanth348 5 років тому

    Bro make a video on how to integrate sms country into laravel and how to send bulk sms.

  • @kamleshpaul414
    @kamleshpaul414 5 років тому

    sir which extentions u r using for laravel development please make a video

    • @Bitfumes
      @Bitfumes  5 років тому

      VSCode extension ???

    • @kamleshpaul414
      @kamleshpaul414 5 років тому

      @@Bitfumes yes sir l like that one php class u click and it open that class

    • @Bitfumes
      @Bitfumes  5 років тому

      its php intelliphense extension on vscode

    • @kamleshpaul414
      @kamleshpaul414 5 років тому

      @@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

  • @khilafatepakistan4423
    @khilafatepakistan4423 4 роки тому

    sir how we can get auth user in service provider??
    not for views

  • @Raihan004
    @Raihan004 4 роки тому

    can you send me playlists url please

  • @phentube2345
    @phentube2345 3 роки тому

    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.

  • @jordisantamariaportoles8233
    @jordisantamariaportoles8233 5 років тому

    how the fuck app->make('Hello') works on you, shouldnt it be $this->app->make('Hello') , and btw it dont works on me anyway