S
S
Sergey Nikolaev2015-07-08 19:17:09
Laravel
Sergey Nikolaev, 2015-07-08 19:17:09

How to handle GET parameters?

let's say there is a path
/com?page=1&per_page=25
We write in the routing
Route::resource('/com', 'comController');
And how to accept page and per_page in the controller?
Via the superarray $_GET works, but how to make Laravel's built-in features?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-07-08
@Devastor

Input::get('page');
4.2
5.0
5.1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question