2017 © Pedro Peláez
 

library illuminate-for-bitrix

Adaptation of some Illuminate components for usage inside 1C-Bitrix framework

image

osotov/illuminate-for-bitrix

Adaptation of some Illuminate components for usage inside 1C-Bitrix framework

  • Sunday, July 19, 2015
  • by osotov
  • Repository
  • 2 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

illuminate-for-bitrix

Adaptation of some Illuminate components for usage inside 1C-Bitrix framework, (*1)

note

This package requires latest versions of php (>= 5.5.9)., (*2)

installation

To install package, run the command below and you will get the latest version, (*3)

composer require osotov/illuminate-for-bitrix

usage

Include Composer autoloader (/vendor/autoload.php) inside init.php file., (*4)

Instantiate bootstrapper class and use bootstrap method to initialize container., (*5)

$bootstrapper = new \Osotov\IlluminateForBitrix\Bootstrapper();
$bootstrapper->bootstrap();

Now you are able to get container instance from any code executed after init.php., (*6)

$container = \Osotov\IlluminateForBitrix\Container::getContainer();

If you want to register service provider class pass its instance to registerServiceProviders method., (*7)

$serviceProvider = new MyServiceProvider();
$bootstrapper->registerServiceProviders($serviceProvider);

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., (*8)

php $bootstrapper->addDbConnection();, (*9)

The Versions

19/07 2015

dev-master

9999999-dev https://github.com/osotov/illuminate-for-bitrix

Adaptation of some Illuminate components for usage inside 1C-Bitrix framework

  Sources   Download

MIT

The Requires

 

by Mikhail Osotov

bitrix illuminate

19/07 2015

0.1.0

0.1.0.0 https://github.com/osotov/illuminate-for-bitrix

Adaptation of some Illuminate components for usage inside 1C-Bitrix framework

  Sources   Download

MIT

The Requires

 

by Mikhail Osotov

bitrix illuminate