Build a Real-Time Web App with Laravel Reverb - COMPLETE TUTORIAL (Laravel, Livewire, Alpine & more)

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

КОМЕНТАРІ • 61

  • @trsofttech5147
    @trsofttech5147 22 дні тому

    Big thanks to this guy i already understand how reverb works!

  • @apptimegr
    @apptimegr 4 місяці тому +1

    Nice demo. Personally I would interact with Echo in javascript to avoid all those requests for every mouse movement.

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +2

      Yep! That would be the best way to do that. I wanted to still focus on the Livewire connection and not dive too deep into the weeds with JavaScript Echo but could definitely all be done with JavaScript (and probably should be done) for the mouse. :) I’ll add a branch to the repo with that way to do it.
      -Josh

  • @arielmejia9680
    @arielmejia9680 4 місяці тому +3

    Thanks great content as always… hopefully we can get a little bit more content like this type with official packages

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +2

      Thanks! Glad it resonated. We definitely have more content like this in the pipeline. :)
      -Josh

  • @arefpasha
    @arefpasha 4 місяці тому +5

    Thanks but laravel reverb won't let us to test in flutter applications with withch package we can communicate with flutter applications even we cant debug on postman

  • @fasterisq2.1m76
    @fasterisq2.1m76 4 місяці тому +6

    I have same experience, reverb not working in in Linux vps server, connection getting successful but not receiving notifications and there is no errors showing. And we switched to pusher. Laravel won't give proper documentation about deployment , connect with the websocket from external framework such as flutter or in postman... They only showing how to connect using echoooo. We lost many days for debugging or finding the problem but now we dropped reverb.
    Stop the tutorial of connecting reverb using echo and livewire and give proper documentation.
    No one will going to deploy livewire product excluding personal/hobby projects.

    • @arefpasha
      @arefpasha 4 місяці тому

      Did you find any solution for flutter communication?

    • @fasterisq2.1m76
      @fasterisq2.1m76 4 місяці тому

      @@arefpasha reverb not working, now implemented with pusher , they provide SDK for flutter, JavaScript.. and more platform

    • @arefpasha
      @arefpasha 4 місяці тому

      ​@@fasterisq2.1m76 there is no way to use something free ? I want all sources and handles to be on my project and pusher is not free
      There is no way to communicate berween laravel and flutter ?

  • @mohsenalsayyadi7311
    @mohsenalsayyadi7311 4 місяці тому +7

    when upload project to vps server , reverb not working , give me error web socket in console , i use forge

    • @fasterisq2.1m76
      @fasterisq2.1m76 4 місяці тому +1

      I have same experience, reverb not working in in Linux vps server, connection getting successful but not receiving notifications and there is no errors showing. And we switched to pusher. Laravel won't give proper documentation about deployment , connect with the websocket from external framework such as flutter or in postman... They only showing how to connect using echoooo. We lost many days for debugging or finding the problem but now we dropped reverb.

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +2

      Oh no. I would say be sure to search if someone else had the same issue. This is for the same project we built in the video?
      -Josh

    • @arefpasha
      @arefpasha 4 місяці тому

      ​@@fasterisq2.1m76i have same issues about reverb in flutter he has no way to check and debug application

    • @fasterisq2.1m76
      @fasterisq2.1m76 4 місяці тому

      @@LaravelPHP not

    • @arefpasha
      @arefpasha 4 місяці тому +1

      Did you find any solution?

  • @NathanBudd
    @NathanBudd 4 місяці тому +1

    Would bo cool to see this setup with Inertia.

    • @LaravelPHP
      @LaravelPHP  4 місяці тому

      We are putting together an Inertia branch in the repo. ☺️
      -Josh

  • @carlweis
    @carlweis 2 місяці тому

    Hey Josh! Awesome video as always. Learning so much from your channel, thank you! Can you kindly tell me which vs code theme you're using?

    • @carlweis
      @carlweis 2 місяці тому

      Just found your VSCode video...all set. -> ua-cam.com/video/uoqhrFRuRF4/v-deo.html

  • @scott_itall8638
    @scott_itall8638 4 місяці тому +1

    So this set up will work with a table of data, if s user is looking at the table and another submits a new record elsewhere, the table will update in real-time?
    Basically PocketBase's version of real-time.

    • @LaravelPHP
      @LaravelPHP  4 місяці тому

      That’s correct. You could set up an event whenever a new record is added. ☺️
      -Josh

  • @himanshubelwal-m4l
    @himanshubelwal-m4l Місяць тому

    are you sure this one work on laravel tenancy if you know about this how we can connect server each other please help

  • @bitcoinxofficial
    @bitcoinxofficial 4 місяці тому +2

    One problem of laravel is that it works fine locally 😂 but sometimes it doesn't work on live production servers

    • @LaravelPHP
      @LaravelPHP  4 місяці тому

      Sorry to hear it’s not working how you expect in production. We didn’t change anything up from this video and deployed it live on Forge so it’s working great for that! ☺️
      -Josh

  • @basic-1337
    @basic-1337 4 місяці тому

    Can you give us ur vscode setup
    It looks very clean
    That long long tail tailwind makes it even cleaner

    • @rodjenihm
      @rodjenihm 4 місяці тому +1

      Josh Cirre channel - My Minimal and Beautiful VSCode Setup

  • @nikolicvladimir
    @nikolicvladimir 4 місяці тому +5

    Would be great with inertia and vue 🎉

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +6

      I’ll put an Inertia and Vue branch together to show that off in the Repo. :)
      -Josh

    • @jonjakoblich9009
      @jonjakoblich9009 3 місяці тому

      @@LaravelPHP Looking forward to this.

  • @mauricenoever
    @mauricenoever 4 місяці тому

    Can you make a video with larvel reverb and a next JS fronted maybe a Todo App? . You want to help me a lot

  • @JonBrookes
    @JonBrookes 4 місяці тому

    this is really good Josh, thanks for doing this. Its even better than the one that went before with the sports car and that was excellent also.
    I likeed how you did the @entabgle stuff as well which I had't fully realised untill now. I guess we could use cache or broadcast to communicate changes depending on use case ? I like your example using Cache::forever to store state changes to toggleSwitch and I can see more clearly how broadcast works, its really quite simple to use isint it ! Another reason to use Larave in my book ⭐🚀

    • @LaravelPHP
      @LaravelPHP  4 місяці тому

      Thanks for the support Jon! :)
      -Josh

  • @1weiho
    @1weiho 4 місяці тому

    Great tutorial! By the way, may I ask what keyboard you are using? The typing sound is really nice.

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +1

      This is actually a fake keyboard sound for videos. It’s a Mac app called Klack. :)
      -Josh

    • @1weiho
      @1weiho 4 місяці тому

      @@LaravelPHP That's so cool! Thanks for sharing.

  • @alexneto1625
    @alexneto1625 4 місяці тому

    Good morning, I'm trying to configure laravel reverb in a live chat application, locally it works, but when I put it in an apache environment on an external server it doesn't work, what settings should I make?

    • @LaravelPHP
      @LaravelPHP  4 місяці тому

      Be sure to check the “production” section of the Reverb docs for how to best set it up if you’re not using Forge. ☺️
      laravel.com/docs/11.x/reverb#production
      -Josh

    • @destinybrotobor3463
      @destinybrotobor3463 4 місяці тому

      @@LaravelPHP Can you do a test video explaining the deploying to production steps that has always been my problem even with Laravel web socket. (It works locally but does not work on a shared server)

  • @codewithtee
    @codewithtee 4 місяці тому

    Which browser and code editor are you using ?

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +1

      This is the Arc browser with VS Code. :)
      -Josh

    • @codewithtee
      @codewithtee 4 місяці тому

      @@LaravelPHP thank you

  • @tarikmanoar
    @tarikmanoar 4 місяці тому

    Can anyone told me whats the plugin he used for hiding tailwind class?

    • @LaravelPHP
      @LaravelPHP  4 місяці тому

      This is the Tailwind Fold plugin. :)
      -Josh

  • @Stoney_Eagle
    @Stoney_Eagle 4 місяці тому

    Are you practicing for a laracast? 🤔😊

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +1

      It’s a strong possibility. 😁
      -Josh

  • @constantine9074
    @constantine9074 9 днів тому

    Laravel became "overcomfortable" ❤

  • @QuintessentialDio
    @QuintessentialDio 4 місяці тому

    Can this be run on windows yet?

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +1

      Laravel Herd? That can, yes!

  • @shrisandeepkushwaha39
    @shrisandeepkushwaha39 4 місяці тому +1

    जय श्री 🔆राम🙏

  • @alikaram98
    @alikaram98 4 місяці тому

    amazing

    • @LaravelPHP
      @LaravelPHP  4 місяці тому

      Glad you like it! :)
      -Josh

    • @alikaram98
      @alikaram98 4 місяці тому

      @@LaravelPHP Please Can you tell me the name of the font you are using?

  • @RuelLuna
    @RuelLuna 4 місяці тому

    SLICK!!!!

    • @LaravelPHP
      @LaravelPHP  4 місяці тому +1

      Thanks! This was incredibly fun to make. :)
      -Josh

  • @ohjelmistokehittaja4446
    @ohjelmistokehittaja4446 4 місяці тому

    Петр первый пёрнул первым показав пример полку

  • @JohnWick-od9he
    @JohnWick-od9he 4 місяці тому +2

    I wonder why every Laravel dev has to wear the most stupidest hat ever. Do you have to be a total hipster to work with Laravel? I still have to see a normal Laravel dev in one of these videos, apart from Jeffrey Way and Taylor itself.

    • @josh.manders
      @josh.manders 4 місяці тому

      Lets see your cool hat collection.

    • @JohnWick-od9he
      @JohnWick-od9he 4 місяці тому +1

      @@josh.manders Should we wear a hat while indoors like you to be cool instead?