8000 GitHub - talal424/sentinel: A framework agnostic authentication & authorization system.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 29, 2020. It is now read-only.

talal424/sentinel

 
 

Repository files navigation

Cartalyst/Sentinel (v2.0.13) Phalcon integration

this is a forked project that i made a phalcon intergration to it

Configuration:

the sentinel config file can be found under config/PhalconConfig.php

#Usage:

it relies on \Phalcon\Mvc\Model for database connection

you don't need to require these packages on composer.json:

  • illuminate/database
  • symfony/http-foundation
  • illuminate/events

but you need this package:

  • nesbot/carbon
// Import the necessary classes
use Cartalyst\Sentinel\Phalcon\Facades\Sentinel;

// Include the composer autoload file
require 'vendor/autoload.php';

Sentinel::check();

Tested on:

PHP 5.5 Phalcon 3.0.1

About

A framework agnostic authentication & authorization system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%
0