PHP code example of ozean12 / webtranslateit

1. Go to this page and download the library: Download ozean12/webtranslateit library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ozean12 / webtranslateit example snippets


// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new EightPoints\Bundle\GuzzleBundle\GuzzleBundle(), // if not already enabled
        new JMS\SerializerBundle\JMSSerializerBundle(), // if not already enabled
        new Ozean12\WebTranslateItBundle\Ozean12WebTranslateItBundle(),
    ];
    
    // ...
}