Authentication in Laravel Tutorial for PHP applications 102

Поделиться
HTML-код
  • Опубликовано: 8 июл 2024
  • Authentication in Laravel Tutorial for PHP applications. (see shortcuts below to key points) Adam Culp of Beachcasts php programming videos shares how to create authentication in Laravel using the Artisan make:auth command.
    Please * LIKE, COMMENT, AND SUBSCRIBE * - and share with others!
    Key Topics:
    - Create authentication in Laravel
    - Using Artisan make:auth
    - Running Artisan migrations
    - PHP application login application
    For a nice list of equipment I use in my studio, and to support the channel if you make any purchases (doesn't cost you a thing), visit my kit at kit.co: kit.co/beachcasts/beachcasts-...
    Errata:
    Let me know if you notice anything that should be errata
    Associated Links:
    laravel.com
    Timeline:
    00:00 Video Intro
    03:00 Issue command to launch terminal shell into Docker container
    04:41 Using the Artisan make:auth command
    05:15 Validate the creation of new Login and Register menu items
    06:16 Update .env with database credentials and host Docker alias
    09:15 Use Artisan to run database migrations
    09:28 Inspect migration files
    09:55 View new database tables created for auth related things
    10:27 Test user registration form
    11:02 Test the logout feature
    11:08 Test login form
    Other Beachcasts videos you might find interesting:
    Laravel Model Factory Tutorial using Artisan make:model • Laravel Model Factory ...
    Top 5 skills to be a better software developer • Top 5 skills to be a b...
    Install Laravel in Docker container on Ubuntu for beginners • Install Laravel in Doc...
    Getters and Setters accessors in object oriented programming • Getters and Setters ac...
    Critical programming issues preventing a PHP 7 upgrade • Critical programming i...
    Behat for beginners functional REST API testing tutorial • Behat for beginners fu...
    Doctrine ORM one-to-many bi-directional association • Doctrine ORM one-to-ma...
    PHP Mess Detector static analysis to find PHP code smells • PHP Mess Detector stat...
    Doctrine ORM one-to-many self-referencing association • PHP DoctrineORM one-to...
    10 reasons to become a consultant in a consulting business • Top 10 Reasons To Be a...
    Zend Framework becomes Laminas project at Linux Foundation • Zend Framework becomes...
    10 bad things about consulting • Top 10 bad things abou...
    How to get lines of code in PHP • PHPLoc Lines of code s...
    Make a List handler middleware • List handler middlewar...
    Make a Delete handler middleware • Delete handler middlew...
    Make an Update handler middleware • Update handler middlew...
    Use UUID with Doctrine ORM for DB keys • UUID with Doctrine ORM...
    Make a Create handler middlware • Create Handler middlew...
    Automate Hypermedia creation for PHP REST API • Automate Hypermedia PH...
    Learn about Hypermedia and how to create it • Creating Hypermedia (H...
    Doctrine ORM Paginator for PHP REST API • Doctrine ORM Paginator...
    Doctrine ORM Entity how to • Create Doctrine ORM En...
    Configure Doctrine ORM • Configure Doctrine ORM...
    Create PHP middlware with Zend Expressive • Create PHP middleware ...
    Configure PhpStorm for PHP development with Docker • PhpStorm setup for PHP...
    Create PHP development environment with docker • PHP web development en...
    Help through referrals:
    Thinking of buying a Tesla electric vehicle? Use this referral link to also get six months of free Supercharging for both of us. Thank you. www.tesla.com/referral/tanya2...
    I use TubeBuddy to help me manage my RUclips channel. If you're interested, click the following link to check it out. www.tubebuddy.com/beachcasts
    #authentication #laravel #beachcasts
  • НаукаНаука

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

  • @Beachcasts
    @Beachcasts  5 лет назад +1

    Check out the next video in this series - Laravel Model Factory Tutorial ruclips.net/video/hM135dPJ1dM/видео.html
    For more videos on how to use Laravel, see this playlist: ruclips.net/p/PL6_nF0awZMoNUHazztOt4DRH0VIEIFXXO

    • @Beachcasts
      @Beachcasts  5 лет назад +1

      And check out the series with Expressive: ruclips.net/p/PL6_nF0awZMoMol4RPLf99WIZuoJ3l87oG

  • @howtocodewell
    @howtocodewell 5 лет назад

    Hey Adam, I like the new video angles. You've got a much cleaner desk them me! Keep up the good work 👍😀

    • @Beachcasts
      @Beachcasts  5 лет назад

      Thanks Peter! That means allot coming from you. 🤗

  • @zaidkureshi8587
    @zaidkureshi8587 4 года назад

    Amazing nd very informative, please make more videos in this series

    • @Beachcasts
      @Beachcasts  4 года назад +1

      Thanks. I plan to do more in the future. Possibly updating it to the new version.

  • @EYEVISUALdotNET
    @EYEVISUALdotNET 5 лет назад +2

    Where did you get those elePHPants?

    • @Beachcasts
      @Beachcasts  5 лет назад

      HA, I've been collecting them over the years at various events and such. (37 small ones) The 8 large ones are from being the MC at ZendCon each year.

    • @EYEVISUALdotNET
      @EYEVISUALdotNET 5 лет назад

      @@Beachcasts Ah okay, life goals right there.

  • @VicenteMartinsvm
    @VicenteMartinsvm 4 года назад

    Hey Adam, could you show us how to write some tests about this laravel facility? And talk about tests, pls. Thank you!

  • @80sGamerMX
    @80sGamerMX 4 года назад

    Command "make:auth" is not defined. got that error :(

    • @Beachcasts
      @Beachcasts  4 года назад

      Do you get any response from Artisan at all if you simply enter 'artisan'? Sounds like it may not be completely set up. Is PHP running?

    • @weizhang8954
      @weizhang8954 4 года назад

      @@Beachcasts Maybe is the new version 6...try Ui:auth

  • @MuhammadAdnan-gx6rd
    @MuhammadAdnan-gx6rd 5 лет назад

    Don't know about docker but I'm learning laravel only with custom login JWT Auth. ...

    • @Beachcasts
      @Beachcasts  5 лет назад +1

      Enjoy. I like Docker, but many find virtual machined easier.

    • @MuhammadAdnan-gx6rd
      @MuhammadAdnan-gx6rd 5 лет назад

      right

    • @MuhammadAdnan-gx6rd
      @MuhammadAdnan-gx6rd 5 лет назад

      Make separate videos of docker and laravel . ...sir

    • @Beachcasts
      @Beachcasts  5 лет назад

      @@MuhammadAdnan-gx6rd Thanks for the input. Will see what the future holds. ;-)

  • @VideoHostSite
    @VideoHostSite 4 года назад

    Tutorials are useless if you skip huge segments of details. For instance, you never give one word of explanation why/how putting "db" into the DB_NAME does anything at all. You just hand-wave about "Docker setting up aliases", which is complete horse crap, because most of us just use Terminal.

    • @Beachcasts
      @Beachcasts  4 года назад +1

      Thank you for watching. I strive to create videos as informative as possible, and apologize if this one didn't meet your expectation. it is unfortunate the comment also didn't help explain the use of the alias.
      So, for those who see this later, by putting 'db' as the DB_NAME it will use the alias created inside Docker to identify the db instance/container within the subnet created during docker-compose. These aliases allow resolution on the internal network. I'm sure this could be said differently, but hopefully this helps.