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: 11 months 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');
});


For more information send a message to info at phpclasses dot org.