Download the PHP package kiboko/bisous without Composer
On this page you can find all versions of the php package kiboko/bisous. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package bisous
Akeneo Fixtures Generation Toolbox
This toolbox helps generating CSV fixtures consumed by Akeneo's InstallerBundle from Magento 1.9CE or 1.14EE catalog data.
This package is here to help you import your Magento catalog into a fresh new Akeneo instance. It is not aimed at synchronising on a daily basis Akeneo and Magento together.
Be aware that all your existing Akeneo product data will be reset by this tool, and lost.
Supported attribute types
Magento Type | Akeneo Type | Not Localizable, not Scopable | Localizable, not Scopable | Not Localizable, Scopable | Localizable, Scopable |
---|---|---|---|---|---|
Gallery | Asset Collection | ❌ | ❌ | ❌ | ❌ |
Gallery Item | Image | ✅ | ✅ | ✅ | ✅ |
Datetime | Date | ✅ | ✅ | ✅ | ✅ |
File | File | ❌ | ❌ | ❌ | ❌ |
SKU | Identifier | ✅ | ❌ | ❌ | ❌ |
Image | Image | ✅ | ✅ | ✅ | ✅ |
Decimal | Metric | ❌ | ❌ | ❌ | ❌ |
Multiselect | Multi select | ✅ | ❌ | ❌ | ✅ |
Select | Simple select | ✅ | ❌ | ✅ | ✅ |
Number | Number | ❌ | ❌ | ❌ | ❌ |
Price | Price | ❌ | ❌ | ❌ | ❌ |
Status | Simple select | ❌ | ❌ | ❌ | ✅ |
- | Ref. multi select | ❌ | ❌ | ❌ | ❌ |
- | Ref. simple select | ❌ | ❌ | ❌ | ❌ |
Text | Text area | ✅ | ❌ | ❌ | ✅ |
Varchar | Text | ✅ | ❌ | ❌ | ✅ |
Visibility | Simple select | ❌ | ❌ | ❌ | ✅ |
YesNo | Yes No | ❌ | ❌ | ❌ | ❌ |
How to start
Install using Composer
You will primarily need to install the tool in your environment:
composer global require kiboko/bisous
Once you are done, open a terminal in your Akeneo environement.
You will need to create an .env
file, with the following environment variables properly set:
APP_DSN=mysql:host=mysql;dbname=magento
, Magento's database connection DSN, see PDO MySQL Data Source NameAPP_USERNAME=root
, Magento's MySQL user nameAPP_PASSWORD=password
, Magento's MySQL password
You will then need to create a catalog.yml
file in this directory, describing your catalog structure. See The catalog.yml
file
Download the phar from github
Go to the latest version download page and download the bisous.phar
and bisous.phar.pubkey
files.
Alternatively you can install the files this way:
Run the tool
Once properly installed, run bisous magento <akeneo-directory>/src/InstallerBundle/Resources/fixtures/default
.
This command will create fixtures file required by Akeneo, with your Magento catalog data and structure.
Available commands
Configuration commands
init
Creates an initial configuration file from Magento configuration.test
Tests the syntax of the configuration file.
Testing commands
fake-medias
Generate fake or minimal image files from the products.csv and product_models.csv files.
Fixtures-generation commands
magento
Generate the fixtures files depending on your catalog.yaml configuration and your Magento data.magento:attribute-options
same, but only attribute optionsmagento:attribute-groups
same, but only attribute groupsmagento:attributes
same, but only attributesmagento:channels
same, but only channelsmagento:families
same, but only familiesmagento:locales
same, but only localesmagento:products
same, but only products
Internal commands
help
Display command helplist
Lists all commands availableself-update
Update thebisous
command to the latest available
The catalog.yml
file
The catalog.yml
file has a root node named catalog:
, and 5 sub-nodes described in the following paragraphs:
The attributes:
section
This section is useful for describing your attribute list. It is an array of configuration fields, with the following fields:
code
(string): Your attribute code, as seen in Akeneotype
(string): The attribute's type (valid values areidentifier
,text
,text-area
,rich-text
,status
,visibility
,simple-select
,multiple-select
,datetime
,metric
,image
,image-gallery-item
)strategy
(string): The import strategy, following the next possible values:ad-hoc
: the attribute will be created in Akeneo in the same way it was created in Magentoaliased
: the attrib ute will be created in Akeneo with another code than the one existing in Magentoex-nihilo
: the attribute will be created in Akeneo without taking into account any attribute present in Magento
group
(string): the attribute group in which the attribute will be assigned in Akeneosource
(string) (for strategyaliased
only): the attribute code in Magentoposition
(string) (for attribute typeimage-gallery-item
only): the image index in the Magento media galleryscoped
(bool): to specify it the attribute is scopable (only applies to typestext
,text-area
,rich-text
,status
,visibility
,simple-select
,multiple-select
,datetime
,metric
,image
, will produce an error in Akeneo if used on a variant axis attribute)localised
(bool): to specify it the attribute is localizable (only applies to typestext
,text-area
,rich-text
,status
,visibility
,simple-select
,multiple-select
,datetime
,metric
,image
, will produce an error in Akeneo if used on a variant axis attribute)
Example:
The groups:
section
This section describes the attribute groups that will be created in Akeneo, with the following fields:
code
(string): it will contain the attribute group code in Akeneolabel
(array): it contains a map of the labels of this group, having key as locale ISO code and value as actual label.
Example:
The families:
section
Example:
The locales:
section
Example:
The scopes:
section
Example:
The codes-mapping:
section
This section is used for the attribute options codes generation. As those codes does not exist in Magento we need to build them based on the default labels.
Example:
All versions of bisous with dependencies
ext-pdo Version ^7.2
ext-ctype Version *
ext-iconv Version *
padraic/phar-updater Version ^1.0
psr/log Version ^1.1
symfony/cache Version 4.3.*
symfony/config Version 4.3.*
symfony/console Version 4.3.*
symfony/debug Version 4.3.*
symfony/dotenv Version 4.3.*
symfony/finder Version 4.3.*
symfony/flex Version ^1.3.1
symfony/serializer Version 4.3.*
symfony/yaml Version 4.3.*
twig/twig Version ^2.10