News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

In Coding:
Laravel 4 Authentication A Comprehensive Tutorial
August 26, 2013 @ 16:15:49

On Medium.com Christopher Pitt has written up a tutorial showing off an authentication system in Laravel 4, a recently popular framework that's still a little light on tutorials for more advanced topics...like authentication.

Laravel 4 is a huge step forward for the PHP community. It's beautifully written, full of features and the community is presently exploding. It's with this in mind that I would like to show how to build an authenticated application using Laravel 4.

His example (the code is over on github too) shows you how to:

  • Get Laravel installed and up and running
  • Configure the database and create the needed tables
  • Making a migration for the structure
  • Making the model and "seeder" for some sample data
  • Configuring the authentication pieces

The code to create the controller and views are also included as well as the method you'll need to use for authenticating the given user credentials. There's no signup functionality in this example, but password reset and logout are covered.

0 comments voice your opinion now!
laravel framework authentication tutorial example

Link: https://medium.com/on-coding/e8d93c9ce0e2

blog comments powered by Disqus

Similar Posts

KillerPHP Blog: PHP Interfaces: when and why you should use them instead of classes?

The Bakery: Eight New Items (Components, Tutorials & Helpers)

SitePoint PHP Blog: Repository Design Pattern Demystified

IBM developerWorks: Building the DB2 Health Monitor Sample Application for PHP (Part 2)

SitePoint PHP Blog: How to Handle Unloaded PHP Extensions at Runtime


Community Events

Don't see your event here?
Let us know!


library extension series interview api opinion podcast php7 release framework community performance conference laravel version xdebug example voicesoftheelephpant symfony2 introduction

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework