Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dartmoon-io/prestashop-utils
https://github.com/dartmoon-io/prestashop-utils
prestashop prestashop-library
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dartmoon-io/prestashop-utils
- Owner: dartmoon-io
- License: mit
- Created: 2021-03-18T21:20:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T13:54:23.000Z (over 1 year ago)
- Last Synced: 2024-04-24T15:13:34.880Z (8 months ago)
- Topics: prestashop, prestashop-library
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prestashop Utils
A collection of useful utils.## Installation
```bash
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.```php
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