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

Поделиться
HTML-код
  • Опубликовано: 29 авг 2024

Комментарии • 55

  • @arielmejia9680
    @arielmejia9680 Месяц назад +3

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

    • @LaravelPHP
      @LaravelPHP  Месяц назад +2

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

  • @arefpasha
    @arefpasha Месяц назад +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 Месяц назад +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 Месяц назад

      Did you find any solution for flutter communication?

    • @fasterisq2.1m76
      @fasterisq2.1m76 Месяц назад

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

    • @arefpasha
      @arefpasha Месяц назад

      ​@@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 Месяц назад +7

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

    • @fasterisq2.1m76
      @fasterisq2.1m76 Месяц назад +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  Месяц назад +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 Месяц назад

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

    • @fasterisq2.1m76
      @fasterisq2.1m76 Месяц назад

      @@LaravelPHP not

    • @arefpasha
      @arefpasha Месяц назад +1

      Did you find any solution?

  • @apptimegr
    @apptimegr Месяц назад +1

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

    • @LaravelPHP
      @LaravelPHP  Месяц назад +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

  • @1weiho
    @1weiho Месяц назад

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

    • @LaravelPHP
      @LaravelPHP  Месяц назад +1

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

    • @1weiho
      @1weiho Месяц назад

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

  • @scott_itall8638
    @scott_itall8638 Месяц назад +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  Месяц назад

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

  • @NathanBudd
    @NathanBudd Месяц назад +1

    Would bo cool to see this setup with Inertia.

    • @LaravelPHP
      @LaravelPHP  Месяц назад

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

  • @JonBrookes
    @JonBrookes Месяц назад

    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  Месяц назад

      Thanks for the support Jon! :)
      -Josh

  • @nikolicvladimir
    @nikolicvladimir Месяц назад +5

    Would be great with inertia and vue 🎉

    • @LaravelPHP
      @LaravelPHP  Месяц назад +5

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

  • @basic-1337
    @basic-1337 Месяц назад

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

    • @rodjenihm
      @rodjenihm Месяц назад +1

      Josh Cirre channel - My Minimal and Beautiful VSCode Setup

  • @alexneto1625
    @alexneto1625 Месяц назад

    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  Месяц назад

      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 Месяц назад

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

  • @mauricenoever
    @mauricenoever Месяц назад

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

  • @bitcoinxofficial
    @bitcoinxofficial Месяц назад +1

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

    • @LaravelPHP
      @LaravelPHP  Месяц назад

      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

  • @codewithtee
    @codewithtee Месяц назад

    Which browser and code editor are you using ?

    • @LaravelPHP
      @LaravelPHP  Месяц назад +1

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

    • @codewithtee
      @codewithtee Месяц назад

      @@LaravelPHP thank you

  • @tarikmanoar
    @tarikmanoar Месяц назад

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

    • @LaravelPHP
      @LaravelPHP  Месяц назад

      This is the Tailwind Fold plugin. :)
      -Josh

  • @shrisandeepkushwaha39
    @shrisandeepkushwaha39 Месяц назад +1

    जय श्री 🔆राम🙏

  • @QuintessentialDio
    @QuintessentialDio Месяц назад

    Can this be run on windows yet?

    • @LaravelPHP
      @LaravelPHP  Месяц назад +1

      Laravel Herd? That can, yes!

  • @alikaram98
    @alikaram98 Месяц назад

    amazing

    • @LaravelPHP
      @LaravelPHP  Месяц назад

      Glad you like it! :)
      -Josh

    • @alikaram98
      @alikaram98 Месяц назад

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

  • @Stoney_Eagle
    @Stoney_Eagle Месяц назад

    Are you practicing for a laracast? 🤔😊

    • @LaravelPHP
      @LaravelPHP  Месяц назад +1

      It’s a strong possibility. 😁
      -Josh

  • @RuelLuna
    @RuelLuna Месяц назад

    SLICK!!!!

    • @LaravelPHP
      @LaravelPHP  Месяц назад +1

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

  • @ohjelmistokehittaja4446
    @ohjelmistokehittaja4446 Месяц назад

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

  • @JohnWick-od9he
    @JohnWick-od9he Месяц назад +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 Месяц назад

      Lets see your cool hat collection.

    • @JohnWick-od9he
      @JohnWick-od9he Месяц назад +1

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