goldenplanetdk / obb-app-service-provider
App for OBB
v0.1
2017-06-06 11:51 UTC
Requires
- php: >=7.0
- doctrine/dbal: ^2.5
- silex/silex: ^2
This package is not auto-updated.
Last update: 2025-03-29 13:10:02 UTC
README
Install
composer require goldenplanetdk/obb-app-service-provider "dev-master"
use GP\App\Provider\Service\AuthorizeServiceProvider; $app->register(new AuthorizeServiceProvider(), $parameters);
Events:
app.installation.success
app.uninstalled
Create DB table
CREATE TABLE `sessions` ( `sess_id` VARCHAR(128) NOT NULL PRIMARY KEY, `sess_data` BLOB NOT NULL, `sess_time` INTEGER UNSIGNED NOT NULL, `sess_lifetime` MEDIUMINT NOT NULL ) COLLATE utf8_bin, ENGINE = InnoDB; CREATE TABLE `installations` ( id INT UNSIGNED AUTO_INCREMENT NOT NULL, shop VARCHAR(256) NOT NULL COLLATE utf8_unicode_ci, token VARCHAR(255) NOT NULL COLLATE utf8_unicode_ci, is_secure_protocol TINYINT(1) NOT NULL, created_at DATETIME NOT NULL, PRIMARY KEY (id) ) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
License
MIT