News Feed
Sections




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

Sameer Borate:
Simple user authentication in Laravel 4
June 17, 2013 @ 14:22:01

Sameer Borate has a new post today showing how you can do simple user authentication in a Laravel 4-based application using the built-in Auth functionality.

With the recent release of Laravel 4, PHP developers have at their disposal one of the finest frameworks for application development. As with all new frameworks, it is always good to write some quick code to get a feel for the underlying architecture. The following post shows a simple authentication application using Laravel.

He walks you through the creation of the simple "users" table, the configuration the Auth class will need to connect and authenticate and the form for the login. He also shows the steps for the actual authentication process as well as the code for the routes to make it all work. Additionally, he shows how to restrict pages to only those with the "admin" level access via an auth filter. You can download the example code here.

0 comments voice your opinion now!
user authentication laravel4 tutorial database auth admin

Link: http://www.codediesel.com/frameworks/simple-user-authentication-in-laravel-4

blog comments powered by Disqus

Similar Posts

PHPBuilder.com: PHP with Apache on Windows? Piece of Cake!

NETTUTS.com: How to Authenticate Users With Facebook Connect

ITNewb.com: PHP Encryption / Decryption Using the MCrypt Library (libmcrypt)

PHPBuilder.com.au: Powerful Web Services with PHP and SOAP

Gonzalo Ayuso: Combining Zend Framework2 and Symfony2 components with Composer to build PHP projects


Community Events

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


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

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