PHP Classes

File: src/routes.php

Recommend this page to a friend!
  Classes 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: 4 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');
});