Download the PHP package osotov/illuminate-for-bitrix without Composer
On this page you can find all versions of the php package osotov/illuminate-for-bitrix. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download osotov/illuminate-for-bitrix
More information about osotov/illuminate-for-bitrix
Files in osotov/illuminate-for-bitrix
Package illuminate-for-bitrix
Short Description Adaptation of some Illuminate components for usage inside 1C-Bitrix framework
License MIT
Homepage https://github.com/osotov/illuminate-for-bitrix
Informations about the package illuminate-for-bitrix
illuminate-for-bitrix
Adaptation of some Illuminate components for usage inside 1C-Bitrix framework
note
This package requires latest versions of php (>= 5.5.9).
installation
To install package, run the command below and you will get the latest version
usage
Include Composer autoloader (/vendor/autoload.php) inside init.php file.
Instantiate bootstrapper class and use bootstrap method to initialize container.
Now you are able to get container instance from any code executed after init.php.
If you want to register service provider class pass its instance to registerServiceProviders method.
If you want to use Eloquent use addDbConnection method. By default it uses Bitrix connection credentials. If you want to use different connection pass array with credentials as argument.
All versions of illuminate-for-bitrix with dependencies
illuminate/container Version 5.1.*
illuminate/support Version 5.1.*
illuminate/database Version 5.1.*
illuminate/events Version 5.1.*