infoweb-internet-solutions / yii2-skarabee
Skarabee module for Yii2
Installs: 59
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
pkg:composer/infoweb-internet-solutions/yii2-skarabee
Requires
- infoweb-internet-solutions/yii2-cms: *
- yiisoft/yii2: @stable
This package is not auto-updated.
Last update: 2026-01-27 09:38:59 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require infoweb-internet-solutions/yii2-skarabee "*"
or add
"infoweb-internet-solutions/yii2-skarabee": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed run this migration
yii migrate/up --migrationPath=@infoweb/skarabee/migrations
Enable the module in common\config\main.php as follows:
'modules' => [
...
'skarabee' => [
'class' => 'infoweb\skarabee\Module',
],
],
And configure the component in common\config\main.php:
'components' => [
...
'skarabee' => [
'class' => 'infoweb\skarabee\components\Skarabee',
'userName' => XXXXXX,
'password' => XXXXXX
]
]
Import the translations and use category 'infoweb/skarabee':
yii i18n/import @infoweb/skarabee/messages
You can import real estates from Skarabee into your database from the command line with the following command:
yii skarabee/import
Configuration
All available configuration options are listed below with their default values.
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.