Skip to main content

Routing, a Static Method

  • Chapter
  • First Online:
Beginning Laravel
  • 1940 Accesses

Abstract

Routing is the concept of setting up a new URI like http://localhost:8000/hello. It will take you to a destination web page. Laravel makes it extremely simple. It’s a static method that accepts two things: a URI and an anonymous function or Closure.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Sanjib Sinha

About this chapter

Cite this chapter

Sinha, S. (2017). Routing, a Static Method. In: Beginning Laravel. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2538-7_4

Download citation

Publish with us

Policies and ethics