Skip to content

Instantly share code, notes, and snippets.


Louis Charette lcharette

Block or report user

Report or block lcharette

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lcharette /
Last active Jan 8, 2020
Status page for UserFrosting repos and my Sprinkles repos.


Branch Build Coverage Style
master [][UF-Travis] [][UF-Codecov] [![][style-master]][style]
[hotfix] [][UF-Travis] [][UF-Codecov] [![][style-hotfix]][style]
[develop] [][UF-Travis] [][UF-Codecov] [![][style-develop]][style]
archey347 /
Last active May 26, 2019
UserFrosting Login Feature Suggestion

UserFrosting Login Feature Suggestion

This plan outlines a possible method of integrating social login, 2 factor authentication, and also the option for a developer to introduce their own authentication methods through their own sprinkles.

For every authentication method, there will be an authenticator class, which will have standard methods depending on what type of authenticator it is (see below). Each authenticator will be enabled in the config file. This is also where any application credentials that are needed by the authenticator will also be stored.

The presence of it in the configuration will then allow UserFrosting to "register" the authenticator class in a sub container called authenticators. They have been set up in the config so that multiple instances of the same authenticator class can be used, such as if a person had two standard oath2 sites they wanted to use.

The different authenticator types will be split up into sub-containers again depending on what type it is.

strebl / .php_cs
Last active Nov 8, 2018
onfig for PHP-CS-Fixer ver 2 (based on Style CI's Recommended Preset -
View .php_cs
$rules = [
'binary_operator_spaces' => ['align_double_arrow' => true, 'align_equals' => false],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
'blank_line_before_return' => true,
'braces' => true,
'cast_spaces' => true,
'class_definition' => true,
mindplay-dk /
Last active Jan 2, 2020
Complete overview of the PHP SessionHandler life-cycle

This page provides a full overview of PHP's SessionHandler life-cycle - this was generated by a set of test-scripts, in order to provide an exact overview of when and what you can expect will be called in your custom SessionHandler implementation.

Each example is a separate script being run by a client with cookies enabled.

To the left, you can see the function being called in your script, and to the right, you can see the resulting calls being made to a custom session-handler registed using session_set_save_handler().

Jonathonbyrd / aped
Created Jun 16, 2012
APE Daemon File
View aped
#! /bin/sh
# /etc/init.d/aped
# chkconfig: 2345 85 15
# description: APE Daemon
# processname: APE Daemon
# Tutorial for installing this file can be found at
# @see
You can’t perform that action at this time.