News Feed
Sections




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

NetTuts.com:
Authentication With Laravel 4
November 12, 2013 @ 13:13:39

On NetTuts.com today there's a new tutorial posted showing you how to create user authentication with a Laravel framework-based application. Their example comes complete with registration and login code and the markup for the pages.

Authentication is required for virtually any type of web application. In this tutorial, I'd like to show you how you can go about creating a small authentication application using Laravel 4. We'll start from the very beginning by creating our Laravel app using composer, creating the database, loading in the Twitter Bootstrap, creating a main layout, registering users, logging in and out, and protecting routes using filters.

They walk you through every step of the way - providing the PHP and HTML (and a bit of CSS) needed to make the system:

  • Creating a new project and installing dependencies
  • Connecting to the database and making the "Users" table
  • Making the registration page (with controller and view)
  • Handling the form submission from the page
  • Making a basic login page
  • Adding the "log out" functionality as well

You can also just hop over to Github and grab the full example if you'd like to see how it all fits together.

0 comments voice your opinion now!
authentication laravel framework tutorial registration login

Link: http://net.tutsplus.com/tutorials/php/authentication-with-laravel-4/

blog comments powered by Disqus

Similar Posts

Stephan Hochdörfer: Configuring Xdebug and phpstorm for CLI debugging

Spindrop.us: Digg-style AJAX comment editing in PHP/symfony

PHPBuilder.com: Creating an Online Survey - Part 2

PHPMaster.com: Using Facebook’s Realtime Updates and Subscription API

Phish Tank: Install & Configure Apache+PHP+ZendFramework+OracleDbXe On Windows In Minutes


Community Events

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


security version series introduction release laravel interview api framework library unittest laravel5 language development php7 community extension voicesoftheelephpant opinion podcast

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