Skip to content
forked from FR6/lazyauth

Laravel 4 package for a really basic HTTP authentication process.

License

Notifications You must be signed in to change notification settings

stepbert/lazyauth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lazyauth

Laravel 4 package for a really basic HTTP authentication process.

Installation

  • Install package

    In composer.json (of the root of your project) add the package:

      {
      	...
      	"require": { 
      		...
      		"FR6/lazyauth": "dev-master"
      	},
      	"repositories": [{
      		"type": "git",
      		"url": "[email protected]:FR6/lazyauth.git"		
      	}],
      	...
      }
    

    $ composer update FR6/lazyauth

    In app/config/app.php

      'providers' => array(
      	...
      	'FR6\Lazyauth\LazyauthServiceProvider'
      )
    

    $ composer dump-autoload

  • Publish configuration file

    $ php artisan config:publish fr6/lazyauth

Usage

In your routes.php:

Route::group(array('before' => 'lazyauth', 'prefix' => 'admin'), function(){

	Route::get('/', function(){
		...
	});
});

About

Laravel 4 package for a really basic HTTP authentication process.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%