function Global / url
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

url

url ( ) : UrlGenerator |string

Generate a url for the application.

Parameters

  • $path string|null
  • $parameters mixed
  • $secure bool|null