Laravel String Pattern Matching - Laravel 5.5 String Helper Method: "is" Nov 30, 2017
The is helper method in Laravel's Illuminate\Support\Str class checks if a given value matches a given pattern. It returns true if the value matches the pattern and false otherwise. The method does not support traditional regular expressions. Laravel also provides a global str_is helper function that is a shortcut to calling Str::is.
Laravel 5.5 String Helper Function: after Nov 27, 2017
Learn how to use the after method in Laravel's Illuminate\Support\Str class to extract a substring after the first occurrence of a specified character. This method is useful for parsing URL query strings or quickly finding substrings based on a certain character. Use the provided signature and example to get started.
Laravel 5.5 String Helper Function: ascii Nov 27, 2017
The ascii helper method converts a string in UTF-8 encoding into its ASCII equivalent. It is useful when communicating with software platforms that require ASCII or complying with formatting protocols. The method accepts a language parameter, and in Laravel 5.5, it supports Bulgarian and German in addition to English. The method can be used by passing a string to it and will return the ASCII representation of that string.
Laravel 5.5 String Helper Function: before Nov 27, 2017
The before method in Laravel's Illuminate\Support\Str class allows you to retrieve a portion of a string before the first occurrence of a specified character. It is useful for parsing URL query strings or extracting substrings. For example, Str::before('https://stillat.com?ref=newsletter', '?') would return "https://stillat.com".
Laravel 5.5 String Helper Function: camel_case Nov 27, 2017
The camel method in Laravel's Str class converts a string to camel case, where each word starts with a capitalized letter, except the first character, which is lowercased. It ignores special characters and spaces. The camel_case function is a shorthand for using Str::camel globally.
Laravel 5.5 String Helper Function: studly Nov 27, 2017
Learn how to format text using studly caps in Laravel. Studly caps removes word separators and capitalizes the first letter of each word. See examples of how the studly method works and how it can be used to generate Pascal Cased style strings. Also, find out about the global studly_case helper function that calls the Str::studly method.
Installing Linguistics for Adobe Brackets Oct 31, 2017
In this guide we are going to look at how to install the Linguistics for Adobe Brackets plugin, an offline as-you-type spell checking plugin. The first step to ...
Building a Simple Statamic Request Addon Sep 29, 2017
In the root directory of your site, issue the following command to have Statamic generate the scaffolding we will need to build our custom tag. This will ...
Rebuilding Stillat.com Jul 23, 2017
Let's take into consideration the false starts (and restarts) as well as building a flat-file comment system that I thought "would only take two weeks or so"......
The Statamic Add-on Roundup Jul 23, 2017
Here is a list of all of the add-ons this site is running (at the time of writing) as they appeared in the Statamic Control Panel. ...
Announcement: All Of the Laravel Articles Are Free Jul 22, 2017
Discover the journey behind "Laravel Artisan: An In Depth Coverage of Laravel Features." Find out why the project was eventually converted into free blog posts on the website. Explore the author's other projects and the motivation behind the switch to a new site. Don't miss the free resource, "Laravel Companion: A Guide to Helpers, Collections And More."
Command Interoperability and Laravel Artisan Applications Dec 7, 2016
Learn how to execute Artisan commands from within other Artisan commands in Laravel. Use the call and callSilent methods to call other commands and return the exit code. Pass arguments and options to the called commands using arrays. Output from called commands can be hidden by using the callSilent method. Commands can also be called from other locations within the application's code base by injecting the console kernel or using the Artisan facade. Operating system calls can be made using Symfony's Process component, which is already available in Laravel. Handle process output by supplying a callback function to the process's run method.