Search by

dartmoon / prestashop-utils

alessandro1105

This package is abandoned and no longer maintained. The author suggests using the dartmoon/prestashop-module-toolkit package instead.

PrestaShop Utils is a collection of utils for basic operations for PrestaShop

Package info

github.com/dartmoon-io/prestashop-utils

pkg:composer/dartmoon/prestashop-utils

Statistics

Installs: 320

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2021-03-20 08:47 UTC

This package is auto-updated.

Last update: 2026-10-16 15:29:20 UTC


README

Abandoned repository. This repository is no longer maintained. For current PrestaShop module development, use the prestashop-module repository. The documentation below describes the abandoned implementation.

Prestashop Utils

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