2017 © Pedro Peláez
 

yii2-extension yii2-skarabee

Skarabee module for Yii2

image

infoweb-internet-solutions/yii2-skarabee

Skarabee module for Yii2

  • Monday, June 20, 2016
  • by infoweb-internet-solutions
  • Repository
  • 2 Watchers
  • 0 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Skarabee module for Yii 2

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

php composer.phar require infoweb-internet-solutions/yii2-skarabee "*"

or add, (*3)

"infoweb-internet-solutions/yii2-skarabee": "*"

to the require section of your composer.json file., (*4)

Usage

Once the extension is installed run this migration, (*5)

yii migrate/up --migrationPath=@infoweb/skarabee/migrations

Enable the module in common\config\main.php as follows:, (*6)

'modules' => [
    ...
    'skarabee' => [
        'class' => 'infoweb\skarabee\Module',
    ],
],

And configure the component in common\config\main.php:, (*7)

'components' => [
    ...
    'skarabee' => [
        'class' => 'infoweb\skarabee\components\Skarabee',
        'userName' => XXXXXX,
        'password' => XXXXXX
    ]
]

Import the translations and use category 'infoweb/skarabee':, (*8)

yii i18n/import @infoweb/skarabee/messages

You can import real estates from Skarabee into your database from the command line with the following command:, (*9)

yii skarabee/import

Configuration

All available configuration options are listed below with their default values., (*10)


realEstateUrlPrefix (type: string, default: )

The value of this option will be used in the getUrl method of the infoweb\Skarabee\models\RealEstate model. It serves as the prefix in the url structure and is a translation key in the url i18n category., (*11)


The Versions

20/06 2016

dev-master

9999999-dev

Skarabee module for Yii2

  Sources   Download

MIT

The Requires

 

yii2 infoweb skarabee yii2-skarabee