Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
/ sentinel Public archive
forked from cartalyst/sentinel

A framework agnostic authentication & authorization system.

License

Notifications You must be signed in to change notification settings

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%