PHP Classes

File: src/routes.php

Recommend this page to a friend!
  Packages of Decode Web   PHP Yandex Translate   src/routes.php   Download  
File: src/routes.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Yandex Translate
Translate application texts using Yandex API
Author: By
Last change:
Date: 7 years ago
Size: 284 bytes
 

 

Contents

Class file image Download
<?php

Route::group(['namespace'=>'Decodewebin\YandexTranslate\Http\Controllers'], function (){
    Route::get('translate', 'YandexTranslateController@viewTranslatePage');
    Route::post('translate-string', 'YandexTranslateController@translateString')->name('translate.string');
});