Skip to content

Composer installer plugin for ioncube licenses

License

Notifications You must be signed in to change notification settings

Setasign/ComposerIoncubeLicenseInstaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer Ioncube License Installer

Latest Stable Version

The composer ioncube license installer is a plugin for composer to automatically install ioncube licenses into a related composer package.

How does it work?

The license has to be a standalone composer package similar to this:

{ 
   "type":"ioncube-license",
   "name":"your-vendor/your-encoded-package-license",
   "license":"proprietary",
   "require":{ 
      "setasign/composer-ioncube-license-installer":"*"
   },
   "extra":{ 
      "licenseValidFor":[ 
         "your-vendor/your-encoded-package"
      ]
   }
}

All license files have to be on the root level of this package and must have the extension ".icl".

The plugin will listen to the EventDispatcher of composer and if one of the packages from "licenseValidFor" is installed or updated it will copy all ".icl" files into the package directory.

License

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