PHP Classes

File: routes/web.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP Movies App   routes/web.php   Download  
File: routes/web.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Movies App
Implement a site about movies using TMDB API
Author: By
Last change:
Date: 8 months ago
Size: 402 bytes
 

Contents

Class file image Download
<?php

use Illuminate\Support\Facades\Route;

Route::get('/', 'MoviesController@index')->name("movies.index");

Route::get('/movies/{movie}', 'MoviesController@show')->name("movies.show");

Route::get('/actors', 'ActorsController@index')->name("actors.index");

Route::get('/actors/page/{page?}', 'ActorsController@index');

Route::get('/actors/{actor}', 'ActorsController@show')->name("actors.show");