REST API Authentication with PHP & MySQL | Slim PHP Micro Framework Registration and Login Tutorial

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

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

  • @dave-hollingworth
    @dave-hollingworth  9 месяцев назад +4

    Thank you for watching! Please consider supporting my channel: ☕ ko-fi.com/davehollingworth

  • @affordablecustomehr4845
    @affordablecustomehr4845 9 месяцев назад +3

    It is a good thing that the algorithm suggested your video series. It has made my life and work a lot better. I did not have to build from scratch by myself. Your video cut my work down to just three days to get a working prototype out. I ask you to build an advanced PHP engineering course. I can't be the only person looking to become a PHP architect.

  • @karameht
    @karameht 9 месяцев назад +1

    I've been waiting for this video! Thank you, and I'd love to see more about SlimFramework. After watching these tutorials, I've changed my mind about using Symfony or Laravel for my project. 🥰

  • @thanasakis61
    @thanasakis61 8 месяцев назад +1

    Thank you so much for creating those 2 amazing videos. Very accurate and to the point. You are a very good instructor!

  • @iam.masoudsamimi
    @iam.masoudsamimi 8 месяцев назад

    By far the best SLIM PHP implementation with easy and clearly understandable progress.
    Cheers.

  • @efbYouTube
    @efbYouTube 9 месяцев назад

    yr usual good stuff here & txs again (& again😄) for breaking it out by sections making it easier to ref later. when i 1st came across yr content on udemy yrs ago i remember thinking how lucky i was to have found yr course primarily b/c everything was so eloquently explained & thought out & not to mention for the wonderfully reasonable price! that u now provide a lot of this free via YT (& optionally using kofi!) is just remarkable & very much appreciated. keep up the excellent work!

  • @edopenroz
    @edopenroz 4 месяца назад

    Thanks Dave for this great tutorial!

  • @koranonta8083
    @koranonta8083 8 месяцев назад +1

    The best video on SLIM REST API I've seen so far. Could extend the course with Monolog logging please?

  • @JohnSmithhh
    @JohnSmithhh 4 месяца назад +1

    Thank you! WaterCSS is unbelievable!

  • @jannickbreunis
    @jannickbreunis 5 месяцев назад

    Good tutorial for the X-API-KEY. If JWT could also be covered I would be a very happy man.. Thanks!

  • @craigc5879
    @craigc5879 9 месяцев назад

    Absolutely amazing 10/10

  • @mr_don_key
    @mr_don_key 6 месяцев назад +1

    security wise would advice against this method. (static api key per user).. using the jwt method is saver, since it uses a temp bearer token, on the fly generated (each time differently), which will invalidates/expires after x time. If a abuser, steals the key, it's quite useless, since it's expired soon enough and on each new successful login the user gets a new token/key, which the attacker doesn't have.

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

    Thanks Dave, once again a super tutorial.
    In your other tutorial you had to fudge the validation so that if you are only patching one field the validation will not fail because the other fields are not supplied.
    How should you allow for this using Valitron?

    • @dave-hollingworth
      @dave-hollingworth  Месяц назад

      I haven't tried this, but you could pass the existing values from the record to the validation routine, along with the changed value. Alternatively you could load the validation rules based on which fields were passed in, only loading the validation rules for the specified fields.

  • @mexantos
    @mexantos 7 месяцев назад

    Need more like this content. Need to implement pagination on response and also filtering response, maybe you can add this kind of course in the near future. oh wait one more thing how to add some media file links on APIS, just like your tut how about adding field for image of product and how to output this as the best practices to API?

  • @mounir101
    @mounir101 9 месяцев назад +1

    Your OS's name please. I like it and all your lessons. Thanks so much for the effort.

    • @dave-hollingworth
      @dave-hollingworth  9 месяцев назад +1

      I use Xubuntu, been using it for many years - lightweight and fast (and free!)

    • @mounir101
      @mounir101 9 месяцев назад +1

      @@dave-hollingworth Thanks for your reply sir. I might appreciate a copy of os like yours.

  • @abdelhamidnehlil7277
    @abdelhamidnehlil7277 9 месяцев назад +1

    merci

  • @Alleo-zl9fp
    @Alleo-zl9fp 9 месяцев назад

    Hi dave may i know what theme u use on your vs code??. TIA

    • @dave-hollingworth
      @dave-hollingworth  9 месяцев назад

      This one: www.vscolors.com/themes/bf8aa94a-4051-42fe-9bd1-2becad466fe7-41e84e99

  • @johnwtz
    @johnwtz 5 месяцев назад

    how did you add the .env file?

    • @dave-hollingworth
      @dave-hollingworth  5 месяцев назад

      You can make a copy of the .env.example file from the original repo, renaming it .env

    • @johnwtz
      @johnwtz 5 месяцев назад

      @@dave-hollingworth how do i upload this to shared hosting how can i make this work on shared hosting sir?

    • @dave-hollingworth
      @dave-hollingworth  5 месяцев назад

      @@johnwtz There's a guide to installing in Apache here: www.slimframework.com/docs/v4/start/web-servers.html#apache-configuration

  • @devanii
    @devanii 4 месяца назад

    super tutorial.. maybe you can creat eone how to do ajax calls and how to route that and with and without $_POST