Search

Showing 7 of 1,697 result(s)

/blog/2016/12/01/basic-structure-of-laravel-artisan-console-commands

…ge directory: The above example references a directory that is not included in the application storage directory by default. The create_file directory must be created manually before attempting to execute the example command or else an error...

/blog/2018/04/11/laravel-5-finding-the-first-occurrence-of-an-element-matching-a-condition-with-first#content-example-use

…$isPostFormat('key', '/post/array_first'); and this would return false : $isPostFormat('key', 'not-a-post'); So how does this work with the first function? Consider the following array: We can call first function and pass our callback function as...

/blog/2018/04/21/laravel-5-facades#content-resolving-the-class-behind-a-facade

…heir resolved classes. This function will make use of many of the collection's features: The third, and final function we will create will convert the Markdown output from our getFacadeClassMarkdown function into HTML using Laravel's mailer...

/search-report-for-statamic/v1/introduction-installation

…Control Panel report, you will need to publish the front-end assets if they were not automatically published for you. This can be done by running the following command: 1 php artisan vendor:publish --tag=statamic-search-report Additionally, there...

/blog/2017/10/31/installing-linguistics-for-adobe-brackets#content-aquiring-the-plugin-files

There are two sets of files that are needed to enable the spell checking features within Brackets. These are the core spell checking libraries themselves and the dictionary files. The core plugin can be downloaded from...

/blog/2016/11/21/laravel-url-helper-function-route

route($name, $parameters = [], $absolute = true, $route = null) 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...

/blog/2021/09/12/creating-a-customized-statamic-3-500-error-page#content-creating-a-custom-exception-class

We are going to create a custom exception class just to observe how our template variables change depending on the type of error that was thrown. To do this, create a new PHP file at app/CustomException.php with the following contents: Now that...