Showing 10 of 2,044 results.

Laravel 5.5 String Helper Method: finish

The finish helper method will make sure that a given $value always ends with exactly one occurrence of the $cap . This helper method is incredibly useful when construction URIs or file paths. The $cap can be any string of characters, and does not...

License

Attribute Renderer for Statamic is free software, released under the MIT license.Copyright (c) <Johnathon Koster> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...

Antlers Modifiers

…voked, as well as the data from the item being iterated., se_is_set_type, The se_is_set_type modifier is a utility modifier that can be used to easily check if a Bard or replicator field contains a specific set at some arbitrary position. As an...

License

Template Resolver for Statamic is free software, released under the MIT license.Copyright (c) <Johnathon Koster> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...

The Documentation Search Provider | Index Configuration

The documentation search provider extends the capabilities of Statamic's entries provider. Specifically, it does the following: Provides advanced methods for modifying the content that will be indexed through the use of custom Antlers templates,,...

Creating the "Reply To" Link | Reply Forms

…at you include the following markup on the "Reply To" link (Note: only the meerkat-* data attributes are required, apart from that, go wild!): 1 < a href = " # " data-meerkat-form = " reply " data-meerkat-reply-to = " {{ id }} " > Reply </ a >...

Example Use | Laravel 5.5 String Helper Function: camel_case

The following examples will all return the string myWords : 1 use Illuminate \ Support \ Str ; 2 3 // myWords 4 echo Str :: camel ( ' my words ' ) ; 5 6 // myWords 7 echo Str :: camel ( ' my-words ' ) ; 8 9 // myWords 10 echo Str :: camel ( '...