Download the PHP package machaon/system.empty without Composer
On this page you can find all versions of the php package machaon/system.empty. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download machaon/system.empty
More information about machaon/system.empty
Files in machaon/system.empty
Download machaon/system.empty
More information about machaon/system.empty
Files in machaon/system.empty
Vendor machaon
Package system.empty
Short Description Empty Bitrix component that only includes a template
License MIT
Package system.empty
Short Description Empty Bitrix component that only includes a template
License MIT
Keywords componentsbitrix
Please rate this library. Is it a good library?
Informations about the package system.empty
machaon:system.empty
Компонент-пустышка. Просто подключает определенный шаблон. Удобно использовать для фронтенд-компонентов, когда вся логика в js, а данные берутся из внешних источников.
<?
$APPLICATION->IncludeComponent('machaon:system.empty', 'my_awesome_frontend_component');
?>
Установка
Если файл composer.json
расположен в корне проекта, то достаточно одной команды:
composer require machaon/system.empty
Если же файл размещен в другом месте, например в /local/composer.json
, то нужно предварительно прописать в нем путь к ядру Битрикс:
"extra": {
"bitrix-dir": "../bitrix"
}
Почему папка bitrix, а не local?
Потому что компонент считается вендорным, и его логичнее будет разместить в ядре, а ядро целиком поместить в .gitignore
.
All versions of system.empty with dependencies
PHP Build Version
Package Version
Requires
composer/installers Version
^1.7
The package machaon/system.empty contains the following files
Loading the files please wait ....