goldenplanetdk / gpp-app-installer
Installed app for GPP
Installs: 2 899
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 1
Requires
- php: >=8.0
- doctrine/dbal: 3.8.*
- symfony/event-dispatcher: *
README
Install
composer require "goldenplanetdk/gp-app-installer:dev-master"
use GP\App\Provider\Service\AuthorizeServiceProvider; $app->register(new AuthorizeServiceProvider(), $parameters);
Events:
app.installation.success
app.uninstalled
Create DB table
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