All Projects → devsavage → slim-3-authentication

devsavage / slim-3-authentication

Licence: MIT license
A Slim 3 authentication system.

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
TSQL
950 projects

Projects that are alternatives of or similar to slim-3-authentication

REST-Api-with-Slim-PHP
REST API with PHP Slim Framework 3 and MySQL
Stars: ✭ 69 (+56.82%)
Mutual labels:  slim3, slim-framework, slim-3, slimframework
api rest slim framework
RESTFUL API o API REST con slim framework (PHP, MySql, PDO)
Stars: ✭ 14 (-68.18%)
Mutual labels:  slim-framework, slim-3
localization-middleware
PSR-15 middleware to assist primarily with language-based content negotiation and various other localization tasks
Stars: ✭ 24 (-45.45%)
Mutual labels:  slim-framework
slim3-mvc
Slim 3 PHP micro framework MVC application boilerplate
Stars: ✭ 24 (-45.45%)
Mutual labels:  slim-framework
slim-skeleton
A Slim 3 skeleton project to easily bootstrap MVC applications using Slim Framework 3
Stars: ✭ 14 (-68.18%)
Mutual labels:  slim-framework
slim-mobile-detect
Implements Mobile-Detect lib for Response's write on Slim Framework App
Stars: ✭ 18 (-59.09%)
Mutual labels:  slim-framework
Slim
Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
Stars: ✭ 11,171 (+25288.64%)
Mutual labels:  slim-framework
phpPgAdmin6
PHP7+ Based administration tool for PostgreSQL 9.3+
Stars: ✭ 45 (+2.27%)
Mutual labels:  slim-framework
Slim-Restrict-Route
A Slim middleware to restrict ip addresses that will access to your routes
Stars: ✭ 21 (-52.27%)
Mutual labels:  slim-framework
slim-play
Slim Play app
Stars: ✭ 76 (+72.73%)
Mutual labels:  slim-framework
slim-react-skeleton
Slim Framework 3 Skeleton Application
Stars: ✭ 24 (-45.45%)
Mutual labels:  slim3
slim-routing
Slim framework powered-up routing
Stars: ✭ 14 (-68.18%)
Mutual labels:  slim-framework
Slim-Console
Slim Framework Console
Stars: ✭ 26 (-40.91%)
Mutual labels:  slim-framework
seotool
New version of my keyword tracking tool with additional features - works currently for google.de!
Stars: ✭ 52 (+18.18%)
Mutual labels:  slim3
Slim4-Skeleton
Web application skeleton that uses the Slim4 Framework, PHP-DI, Nyholm PSR7 and Twig.
Stars: ✭ 40 (-9.09%)
Mutual labels:  slim-framework
sihae
A PHP 7.4+ blog engine built with Slim Framework and Doctrine ORM
Stars: ✭ 18 (-59.09%)
Mutual labels:  slim-framework
phpindonesia.or.id-membership2
PHP Indonesia - Membership Application - Reloaded
Stars: ✭ 31 (-29.55%)
Mutual labels:  slim-framework
slim-boilerplate
A simple Slim Framework based website boilerplate, pre-configured with commonly used components.
Stars: ✭ 17 (-61.36%)
Mutual labels:  slim-framework
wordpress-eloquent
A library that converts converts wordpress tables into Laravel Eloquent Models.
Stars: ✭ 129 (+193.18%)
Mutual labels:  slim-framework
lassi
PHP boilerplate for quick start projects using Slim Framework and Eloquent.
Stars: ✭ 58 (+31.82%)
Mutual labels:  slim-framework

Slim 3 Authentication

A very easy to use Slim 3 authentication system.

Latest Unstable Version License

If you stumble upon any vulnerabilities within this package, more importantly with the role/permission system, please send your findings to: [email protected].

Getting Started

Prerequisites

You will need the following to get started:

  • A web server with URL rewriting
  • PHP 5.5 or newer
  • A SSL certificate will be required in production environments! Check out HTTPS Is Easy for help setting this up!

Installing

Clone the project:

git clone https://github.com/devsavage/slim-3-authentication.git your-project-name

Install the composer dependencies:

$ cd your-project-name && composer install

Inside your project folder, install the node dependencies using yarn or npm:

$ yarn install

Rename .env-example to .env

Update .env to your project's configuration

APP_ENV=development

You will need to update the APP_ENV variable to "production" when serving your application outside of a local environment!

Build assets (prodution or development)

$ yarn prod
$ yarn dev

Database and Admin

  1. Import auth.sql file to your database.
  2. Open your site, register a new user and click on activation link sent to your email
  3. Go to phpMyAdmin, select user_roles table and insert a new record. Select your user on user_id field, select "superadmin" on role_id field and confirm.
  4. Login on site to see "Admin Dashboard" on header menu

Migrations and Seeds

Create migration file

php phinx create MigrationName

Create seed file

php phinx seed:create SeedName

Run migrations

php phinx migrate

Run seeds

php phinx seed:run

Use php phinx on terminal to see all available command list.

You will also need Google reCAPTCHA API keys. Get them here.

If you would like to completely disable reCAPTCHA, see this page

Check out the wiki for more information and details on how to add new controllers, routes and more.

License

This project is licensed under the MIT License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].