neiderruiz/translator-php

dev-master 2022-10-16 17:05 UTC

This package is auto-updated.

Last update: 2024-11-27 02:58:19 UTC


README

composer require neiderruiz/translator-php

how using translator

// import pachage
use neiderruiz\translatorphp\Translate;

// run instance of translator
$traductor = new Translate();
$message = $traductor->translate('hello world from PHP', 'es', 'en');
echo $message; // Hola mundo desde PHP