Showing 7 of 587 result(s)
The elixir helper function can be used to get the path to a versioned Elixir file. The function accepts two arguments, the name of the $file to find the path for and the $buildDirectory to look in. By default, the $buildDirectory is set to build...
The Laravel Mix manifest directory can be changed by supplying a value for the $manifestDirectory parameter. The manifest directory should contain the mix-manifest.json file, which contains a mapping of the asset paths and the versioned path...
The asset function will return a URI composed of the application's URI and the given $path . If $secure is true , the returned URI will have the https:// schema, otherwise it will have the http:// schema. The application URI used to generate the...
If you do want to generate the full URL to a controller action, simply supply a truth value of false for the $absolute parameter. The following example demonstrates this: The resulting URL of the function call would then be: /sayHello/Jim
The route helper function can be used to generate URLs to a given named route. The route function defines four parameters, but only three are used internally ( $name , $parameters and $absolute ). It acts a shortcut to calling the...
To generate secure URLs using the url helper function, supply an argument with the truth value of true to the $secure parameter. To generate secure URLs that do not require parameters simply supply an empty array [] as the argument for $parameters...
The broadcast helper function is similar in function to the event helper function in that, if an event implements the "Illuminate\Contracts\Broadcasting\ShouldBroadcast" interface, it will dispatch the event to all server-side listeners and notify...