borgizzle!

A blog about SEO and the web.

Menu

Skip to content
  • Home
  • Sample Page

Quick-tip: How to get variables from the query string in Laravel

Leave a reply

Yo guys, just a little Laravel quick-tip here today.

If you want to get variables from the query string in Laravel, you can get it with the query()-method from the Input class.

The signature for the method is the following:

string Input::query(string $key, mixed $default_value = null);

 

This entry was posted in Laravel, PHP on January 14, 2013 by borgizzle.

Recent Posts

  • Quick-tip: How to get variables from the query string in Laravel

Recent Comments

    Archives

    • January 2013

    Categories

    • Laravel
    • PHP

    Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
    Proudly powered by WordPress