Showing 7 of 1,216 result(s)
No matter what application you're developing, or what platform you are developing on, it is a safe bet you need to get input from your users some how. Laravel 4 provides a really convenient way to do this using the Input facade. Let's look at a...
The app:name command can be used to set the application namespace. It accepts only one argument, the new name of the application namespace. In a new Laravel installation, the application namespace is set to App , as can be seen in the following...
The logger helper function can be used to retrieve the logger instance from the Service Container or as a convenient way to log debug messages within your Laravel application without having to inject any dependencies or include the...
app_path($path = '') The app_path will return the full path to the Laravel application directory (which is named app by default). The exact value returned by calling app_path is dependent on the specific folder structure where the application is...
config_path($path = '') The config_path function can be used to retrieve the path the config directory. It can also be used to construct paths relative to the configuration directory by supplying a $path . The following examples will assume that...
…base_path($path = '') The database_path function can be used to retrieve the path to the database directory. It can also be used to construct paths relative to the database directory by supplying a $path . The following examples will assume that...
public_path($path = '') The public_path will return the path to the public directory. It can also be used to construct paths relative to the public directory if a $path is supplied. The following examples will assume that the Laravel application...
The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.