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

Developer.com: Getting Started with Memcached Distributed Memory Caching

Zend Developer Zone: Integrating Smarty with the Zend Framework

Enterprise PHP Magazine: Why Groupe Girard choosed PHP to J2EE to develop their ERP

Felix Geisendorfer's Blog: How to organize your CakePHP App's Javascript?

SitePoint PHP Blog: The Joy of Regular Expressions [2]


Community Events





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


unittest symfony api opinion introduction release series configure conference version laravel voicesoftheelephpant framework community interview composer podcast language list threedevsandamaybe

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