Hi @zakiaziz I guess you are sorted by now, but if not then I have just started with Sentinel and Laravel 5.1 as well. I added to app\config
Cartalyst\Sentinel\Laravel\SentinelServiceProvider::class,
and aliases like this:
'Activation' => 'Cartalyst\Sentinel\Laravel\Facades\Activation',
'Reminder' => 'Cartalyst\Sentinel\Laravel\Facades\Reminder',
'Sentinel' => 'Cartalyst\Sentinel\Laravel\Facades\Sentinel',
Then simply tested with some simple route closures:
Route::get( '/user/create', function() {
Sentinel::register(array(
'email' => '[email protected]',
'password' => 'foobar',
));
return ('user [email protected](foobar) created');
I am new at this too, but hope that helps!
Hi @ChrisHe,Its working fine,I have a just a question,do i need a new controller for all these sentinel functions,Is there any views available against sentinel?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community