基礎をやります。
パラメーターを渡す。
Route::get('/post/{id}/{name}', function($id, $name){
	return "this is post number " . $id . "," . $name;
});
asで引数を渡す。
パスが長い場合は書き換える
Route::get('/admin/posts/example', array('as'=>'admin.home', function(){
	$url = route('admin.home');
	return "this url is" . $url;
}));
php artisan route:listで表示
$ php artisan route:list
+——–+———-+———————+————+———+————+
| Domain | Method   | URI                 | Name       | Action  | Middleware |
+——–+———-+———————+————+———+————+
|        | GET|HEAD | /                   |            | Closure | web        |
|        | GET|HEAD | about               |            | Closure | web        |
|        | GET|HEAD | admin/posts/example | admin.home | Closure | web        |
|        | GET|HEAD | post/{id}/{name}    |            | Closure | web        |
+——–+———-+———————+————+———+————+
 
					 
