Laravel Comments

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024
  • usefullaravelpa...
    We take a look at adding comments to your Laravel app using this package. We also take a look at how to customize it and create a starting point for a Vue component that allows you to post comments using an AJAX request (without a page refresh).
    Package repo: github.com/lar...
    Example repo: github.com/dre...
    LINKS
    My courses: codewithdre.com
    Sign up for my newsletter: andremadarang.c...
    My website: andremadarang.com
    Twitter: / drehimself
    GitHub: github.com/dreh...
    CodePen: codepen.io/dreh...

ความคิดเห็น • 91

  • @salmanalimughal6386
    @salmanalimughal6386 4 ปีที่แล้ว +2

    THANKS ALOT !!!!!am a Studenet nd I USED THIS IN MY FINAL YEAR PROJECT !! KEEP IT BRO , REALLY APPRECIATE THIS.. make more videos like this. we would love to see some more plugins that make our life more easier :)

  • @mirzanisar9211
    @mirzanisar9211 4 ปีที่แล้ว

    Awesome guide to setup comments in minutes, thanks

  • @shioelnatulish2290
    @shioelnatulish2290 2 ปีที่แล้ว

    You are the best! Thanks for this desired lesson!
    In fact, Laravel did not find Route('Comments.store')..
    So I had to add a routees.php file to the manual.
    And comments earned!
    Thanks a lot!

  • @rakibalom2674
    @rakibalom2674 4 ปีที่แล้ว +10

    thank you for your nice tutorial.
    please, make a tutorial for like - dislike system in laravel!

  • @doodelinux
    @doodelinux 4 ปีที่แล้ว

    Hi André, thanks for the screencast, it helps many people.
    Just a quick note, if the user tries to apply this comment to an existing project with other models he will receive a variable declaration error within the blade, so I suggest that the user apply it as follows: @comments(['model' => App\ModelName::first()])

  • @assulaeman6174
    @assulaeman6174 3 ปีที่แล้ว +1

    i have this problem when install this package in my project laravel 7
    "Your requirements could not be resolved to an installable set of packages.
    Problem 1
    - Root composer.json requires laravelista/comments ^4.5 -> satisfiable by laravelista/comments[4.5.0].
    - laravelista/comments 4.5.0 requires illuminate/database ^8.0 -> found illuminate/database[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require."
    can you help me with this?

  • @Rmm5225
    @Rmm5225 3 ปีที่แล้ว

    This is like magic, thx andre.

  • @terryhenyo9216
    @terryhenyo9216 5 ปีที่แล้ว

    Thank you Andre! Coming from Rails, Laravel seems to have a lot of useful packages too.

    • @drehimself
      @drehimself  5 ปีที่แล้ว +4

      Thanks for watching! There are a TON of great packages for Laravel. Part of the reason why Laravel is so great to use.

    • @khundkarujairulislam4302
      @khundkarujairulislam4302 3 ปีที่แล้ว

      @@drehimself nicely explained

  • @alia.dhillon6224
    @alia.dhillon6224 4 ปีที่แล้ว +1

    Andre, I emailed to the package author about this tutorial (As he asked to let him know) and he replied that he will add this to his readme file.

    • @drehimself
      @drehimself  4 ปีที่แล้ว +1

      Awesome, thanks!

    • @attaroams
      @attaroams 4 ปีที่แล้ว +2

      have you tested it in lara 6 it's not working in laravel 6

  • @divinesconty437
    @divinesconty437 ปีที่แล้ว

    Thanks so much for the tutorial Andre. I have a lite issue I need help with. The reply and edit features don't work for me. Doesn't even point to a route on hover like the delete button
    Please I need help

  • @VanPetersonKpoti
    @VanPetersonKpoti 5 ปีที่แล้ว +1

    Always well done
    Thank you once again

    • @drehimself
      @drehimself  5 ปีที่แล้ว +1

      Thanks for watching!

  • @rob5393
    @rob5393 2 ปีที่แล้ว

    How can I implement it using tailwind? Pop Up box doesn't appear when editing

  • @adnanshoukat2300
    @adnanshoukat2300 5 ปีที่แล้ว

    Thank you! Andre Madarang

  • @muhammadshahsawar6024
    @muhammadshahsawar6024 ปีที่แล้ว

    good lecture

  • @salimedia33
    @salimedia33 4 ปีที่แล้ว

    thank you! Please DONT STOP!!!

  • @shahriarshaon1626
    @shahriarshaon1626 3 ปีที่แล้ว

    Thanks Andre

  • @ProgrammingwithPeter
    @ProgrammingwithPeter 5 ปีที่แล้ว

    This is a great package, but it's a good practice, if you need it for the first time, implement it yourself, you are going to learn how polymorphic relationships work

    • @drehimself
      @drehimself  5 ปีที่แล้ว +2

      Agree! Definitely should understand how polymorphic relationships work before using packages like this.

  • @kareemsamson2101
    @kareemsamson2101 2 ปีที่แล้ว

    If we wanna comment with an image and not as a text, Pls how do we go about that?

  • @San-wf9rk
    @San-wf9rk 4 ปีที่แล้ว

    Nice package. I'll try install and use this.

  • @divinesconty437
    @divinesconty437 ปีที่แล้ว

    Please how do I get gravatar to display my image? I used a real e-mail but it still doesn't work

  • @badrbouzid1166
    @badrbouzid1166 3 ปีที่แล้ว +1

    Problem 1
    - laravelista/comments[4.4.0, ..., 4.4.1] require illuminate/database ^8.0 -> found illuminate/database[v8.0.0, ..., 8.x-dev] but it conflicts with another require.
    - Root composer.json requires laravelista/comments ^4.4 -> satisfiable by laravelista/comments[4.4.0, 4.4.1].
    what is that someone explain please..

  • @Jaimezambranachacon
    @Jaimezambranachacon 5 ปีที่แล้ว

    Very good Andre.

    • @rakibalom2674
      @rakibalom2674 4 ปีที่แล้ว

      thanks for this tutorial... but how to customize this comment system?

  • @malkimts2651
    @malkimts2651 ปีที่แล้ว

    hiii great video,but actually I want to how to comments with with API and using json files..please help me..

  • @MusicTime0Play
    @MusicTime0Play 2 ปีที่แล้ว

    how to apply if i have 3 parameters?

  • @amarchand1504
    @amarchand1504 3 ปีที่แล้ว

    superb i loved this your video sir. so nice

  • @itsrafsanjani
    @itsrafsanjani 3 ปีที่แล้ว

    Great video!

  • @bonheurtuyikunde5658
    @bonheurtuyikunde5658 2 ปีที่แล้ว

    Which route you can use as admin to approve or un-approve comments.?

  • @bcmarcos03
    @bcmarcos03 4 ปีที่แล้ว

    Man... you rock! thank you!
    Also laravel rocks!

  • @parshantyadav9865
    @parshantyadav9865 3 ปีที่แล้ว

    Hi Andre, thank you so much for your all tutorials Especially the E-commerce one, I am using this comment package on my website(Which is a School Management System) so I have to implement a feature that a student can comment on a school assignment only if the teacher had commented already. It will be a great help if you give me direction on how to do that.

  • @bonheurtuyikunde5658
    @bonheurtuyikunde5658 2 ปีที่แล้ว

    Great tutorial thanks!, but why a guest user can't reply? if possible can you tell me how to enable this.

  • @Dipenparmar12
    @Dipenparmar12 4 ปีที่แล้ว

    Nice, Glad to see this (saves lot of time)

  • @justinlemuel12
    @justinlemuel12 4 ปีที่แล้ว

    Hi, how can you change the variable name? I kinda used my own database which doesn't have a "Name" field but has a First and Lastname field

  • @ratanmia1675
    @ratanmia1675 4 ปีที่แล้ว

    The comments are being saved into the database but doesn't show on the view. Any solution, please? I'm using on laravel 6

  • @willynilly4166
    @willynilly4166 2 ปีที่แล้ว

    Please can you do a comment package development tutorial like the one you have here. Thanks in advance

  • @codefire2826
    @codefire2826 3 ปีที่แล้ว

    most packages are conflicting..Canvas and laravista comment having issues with jetstream

  • @aboodlibda7161
    @aboodlibda7161 4 ปีที่แล้ว

    Thanks alote man it was helpful for me Because I need it to use it in my news site project
    Thanks ❤

  • @100bitcov
    @100bitcov 5 ปีที่แล้ว

    Cool video, please make a video about product features

  • @jerryjeremy4038
    @jerryjeremy4038 4 ปีที่แล้ว

    Another great video. Can you also create a sample store with inventory and sales order? Is there a package for that also?

  • @justinlemuel12
    @justinlemuel12 4 ปีที่แล้ว +1

    the comments aren't working anymore. "Call to a member function count() on null (View: C:\xampp\htdocs\cebeco2
    esources\views\vendor\comments\components\comments.blade.php)"

    • @justinlemuel12
      @justinlemuel12 4 ปีที่แล้ว +1

      okay , found the problem.

    • @bekogluaydin
      @bekogluaydin 3 ปีที่แล้ว

      @@justinlemuel12 what was the problem?

  • @sausagemonster6358
    @sausagemonster6358 ปีที่แล้ว

    nice video

  • @morshalinislam2171
    @morshalinislam2171 4 ปีที่แล้ว

    @can('reply-to-comment', $comment) where this checked and how can use this package for my custom guard?For example auth('member') guard.

  • @ryankearney7462
    @ryankearney7462 4 ปีที่แล้ว

    When I type in and create a comment it throws a 403 | unauthorised error? Can anyone help ?

  • @attaroams
    @attaroams 4 ปีที่แล้ว

    sir reply edit and delete not working 403
    This action is unauthorized.

  • @AyushLikhar
    @AyushLikhar 4 ปีที่แล้ว

    great package! can we configure it to work with wink blog package?

  • @muhammadridhoprasetyo4628
    @muhammadridhoprasetyo4628 4 ปีที่แล้ว

    How could you get your login picture when comment ?

  • @KangarooMusiQue
    @KangarooMusiQue 4 ปีที่แล้ว

    It will be very helpful to have a tutorial how to display the latest comments somewhere and how to fetch all comments by a specific user

    • @quickfixportal
      @quickfixportal 3 ปีที่แล้ว

      all you need to do is call Comment::where('comenter_id',userid here)-get(); then use , or call from User model i dont know need to create any extra relation between those

  • @morshalinislam2171
    @morshalinislam2171 4 ปีที่แล้ว

    Sir, Please help me. i am very tired for my work because i am not good programmer and use member guard.For example auth('member') guard. i am trying problem solution form 3 day but not success. please help me sir.

  • @sohaibboukraa2872
    @sohaibboukraa2872 3 ปีที่แล้ว

    thanks man you are vary halpful

  • @dhaferlarbi6298
    @dhaferlarbi6298 4 ปีที่แล้ว

    have u email please i have problem not working always Undefined variable: post because i used other method like @{{post.title}}

  • @nanourgopierrefo122
    @nanourgopierrefo122 3 ปีที่แล้ว

    Thank you for your tutorial. How to costomize the view in order to display the messages in French?
    Thank you

    • @bootdev6558
      @bootdev6558 3 ปีที่แล้ว

      I think the quickest way would be to just edit the comment.php file in vendor\laravelista\comments
      esources\lang\en\comments.php or create a new file and point to it in every needed line

    • @nanourgopierrefo122
      @nanourgopierrefo122 3 ปีที่แล้ว

      @@bootdev6558 Thank you. I created a new comment.php file with the messages in French, and it works.

  • @salmanbutt3186
    @salmanbutt3186 4 ปีที่แล้ว

    Kindly also make video on webrtc laravel package

  • @nahueljj
    @nahueljj 4 ปีที่แล้ว

    how i get the user in the reply?

  • @DanangCod
    @DanangCod 5 ปีที่แล้ว

    how do you find package like this Andre? they are so cool

    • @drehimself
      @drehimself  5 ปีที่แล้ว

      You can go on github and search "Laravel", then sort by the number of stars. There's also an "Awesome Laravel" repo that lists out a lot of great packages. Laravel News also features a ton of great packages.

  • @dhaferlarbi6298
    @dhaferlarbi6298 4 ปีที่แล้ว

    Undefined variable: post
    in postscontroller i do function show etc....
    and in web => ''posts/{post}'
    why always Undefined variable: post???

    • @vitormicillo1
      @vitormicillo1 4 ปีที่แล้ว

      you need setup your class model, example: @comments(['model' => App\Book::find($id)])

    • @ytty2205
      @ytty2205 4 ปีที่แล้ว

      Are you solved the problem please help, thank you.

  • @JustAGuyAndHisCamera
    @JustAGuyAndHisCamera 4 ปีที่แล้ว

    I'm getting error 404 when submitting a comment, anyone else with this problem?

  • @invkg
    @invkg 5 ปีที่แล้ว

    Cool !

  • @southern_smacker
    @southern_smacker 2 ปีที่แล้ว

    come on man, you are just teaching yourself

  • @abdi_pie7266
    @abdi_pie7266 4 ปีที่แล้ว

    need that templete sublime stuff like yours

  • @rezaulmasum205
    @rezaulmasum205 5 ปีที่แล้ว +1

    Great, but could you make something like that from scratch?Really it would be very helpful for beginners.

    • @drehimself
      @drehimself  5 ปีที่แล้ว +4

      Yes! After my course is done I plan to have some content around creating packages. Might use this one as an example.

    • @willynilly4166
      @willynilly4166 2 ปีที่แล้ว

      Please any update on this

  • @rolandocaraballo
    @rolandocaraballo 4 ปีที่แล้ว +1

    Is not working for me the installation has missing some files.

  • @strangersman8623
    @strangersman8623 4 ปีที่แล้ว

    Undefined property: stdClass::$comments (View: C:\xampp\htdocs\All Lravel project\swe332
    esources\views\vendor\comments\components\comments.blade.php)
    { $comments = $model->comments; [in this line get error] }

  • @prane81
    @prane81 4 ปีที่แล้ว

    Is it real time?

  • @nguyencaotai412
    @nguyencaotai412 4 ปีที่แล้ว

    geart

  • @jptechnology9140
    @jptechnology9140 2 ปีที่แล้ว

    test of api

  • @siteantipas6837
    @siteantipas6837 4 ปีที่แล้ว

    Too fast in the explanation men.