dartmoon / prestashop-utils
PrestaShop Utils is a collection of utils for basic operations for PrestaShop
v0.1.0
2021-03-20 08:47 UTC
README
A collection of useful utils.
Installation
composer require dartmoon/prestashop-utils
Multilang text
This util will get all the languages installed inside PrestaShop and generate the multitext of the input string. The index of the array will be the id of the language.
use Dartmoon\Utils\Facades\MultiLangText; $text = MultiLangText::generate('text'); // [0 => 'text', 3 => 'text', ...]
License
This project is licensed under the MIT License - see the LICENSE.md file for details