File: routes.php

Recommend this page to a friend!
  Classes of Ahmad Mustapha  >  ReactPHP Chat Client  >  routes.php  >  Download  
File: routes.php
Role: Example script
Content type: text/plain
Description: Example script
Class: ReactPHP Chat Client
Implement a live chat system based on Web Sockets
Author: By
Last change:
Date: 3 months ago
Size: 439 bytes
 

 

Contents

Class file image Download
<?php

use App\Core\Router\Route;
use
App\Core\Router\Router;

/*
Route::prefix('user')
    ->namespace('User')
    ->name('user.')
    ->group(function (Router $router){
        $router->get('/profile', 'MainController@profile')->name('profile');
        $router->post('add', 'MainController@add')->name('add');
    });
*/


Route::get('/', 'MainController@index')->name('home');
Route::get('/chat', 'MainController@chat')->name('chat');


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