Search

Showing 7 of 1,975 result(s)

/blog/2018/04/22/laravel-5-collections-reducing-a-collection-into-a-collection-of-keycollection-value-pairs-with-maptogroups

The mapToGroups method is similar to the mapToDictionary method, in that the mapToGroups method allows you take a collection of data and reduce it such that the final result is a collection of key/value pairs. The resulting value for each key may...

/blog/2016/11/29/laravel-collection-public-api-groupby

groupBy($groupBy, $preserveKeys = false) The groupBy method is used to group a collection based on a given value, represented by the $groupBy parameter. An argument passed to $groupBy can be a simple string, representing the value that the...

/blog/2023/02/10/how-to-structure-your-cybersecurity-team-to-work-in-an-agile-environment#content-how-to-make-sure-your-organization-is-ready-for-the-future-of-cybersecurity

…ation is prepared for the future of cybersecurity—it's also about ensuring your organization has the talent and ability to take on that challenge. Rowan Bunning, a pioneer of the agile project management approach, talked about the future of agile...

/blog/2016/12/01/the-laravel-application-console-kernel

…ravel/framework/src/Illuminate/Foundation/Console/Kernel.php file; this kernel will be defined as the framework console kernel). From the applications point of view, the application console kernel is responsible for specifying which custom...

/blog/2022/04/22/managing-fieldset-handles-with-antlers-runtime

…mplate that would render our fieldset: and simply include the following in other templates when we wanted to reuse our Frequently Asked Questions template: {{ partial:components/faq }}The previous example works great when field names do not...

/blog/2016/12/07/laravel-artisan-generator-command-the-makemigration-command

…eate a new database table while using the --table will generate a migration for modifying an existing table with the value set. The behavior of the --create option will take precedence if both options are supplied. The following examples...

/blog/2014/07/28/laravel-paginator-pretty-urls#content-creating-our-own-make-method

…ate\Support\Facades\App facade. In our PrettyPaginator class, add the following function: its kind of scary, but I'll explain it. When we call the PrettyPaginator::make() function, we pass it the items we want to paginate, the total number of...