4 Star 11 Fork 17

gsls200808 / JetBrainsLicenseServerforPHP

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
Alexander Puharic 提交于 2017-11-13 02:52 . Update readme

JetBrainsLicensingServer

Requires >= PHP7 with OpenSSL extension enabled, Composer for dependency management and auto-loading

Highly versatile design allows extending classes to add extra functionality (eg. license verification against internal database).

Setup

Directory root: public_html/

Run:

cd /path/to/project
composer install

Rewrite configuration - All requests to the router

Nginx

location / {
    try_files $uri $uri/ /path/to/public_html/router.php?$args;
}

Apache

<IfModule mod_rewrite.c>
    Options -MultiViews

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ router.php [L]
</IfModule>

Please note that Apache .htaccess file is already in place.

Data processing

The following is supplied by PhpStorm upon request:

    [buildDate] => 20170719
    [buildNumber] => 2017.2.4 Build PS-172.4155.41
    [clientVersion] => 4
    [hostName] => localhost
    [machineId] => xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    [productCode] => xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    [productFamilyId] => xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    [salt] => 1510401286729
    [secure] => false
    [userName] => xzero
    [version] => 2017200
    [versionNumber] => 2017200

Of which only 'userName' and 'salt' are used by server for basic operation. (every licensing request is approved)

Configuration

config.php is used for configuration

PHP
1
https://gitee.com/gsls200808/JetBrainsLicenseServerforPHP.git
git@gitee.com:gsls200808/JetBrainsLicenseServerforPHP.git
gsls200808
JetBrainsLicenseServerforPHP
JetBrainsLicenseServerforPHP
master

搜索帮助