Skip to content

Releases: SidRoberts/phalcon-authmiddleware

4.0.0

09 Aug 13:45
Compare
Choose a tag to compare
v4.0.0

All middlewares must pass to allow the action to process. (#9)

3.0.0

19 Jan 22:27
Compare
Choose a tag to compare

Added support for Phalcon version 4.

2.0.0

24 Mar 00:46
Compare
Choose a tag to compare

Several middleware annotations can now be added to controllers:

use Phalcon\Mvc\Controller;

class IndexController extends Controller
{
    /**
     * @AuthMiddleware("Example\AuthMiddleware\MustBeLoggedIn")
     * @AuthMiddleware("Example\AuthMiddleware\MustBeAdmin")
     */
    public function indexAction()
    {
        // ...
    }
}

All middleware classes must return true in order for the action to be processed.

Modernised the code to work better with PHP 7.

v1.0.0

05 Aug 16:36
Compare
Choose a tag to compare
Updated Composer command in README.