Showing 10 of 2,142 results.

Laravel: Calling Artisan Commands From Your Application

This little tip will show you how to run Artisan commands from within your applications code, if you need to. 1 <?php 2 3 Route :: get ( ' example ' , function ( ) 4 { 5 // Call and Artisan command from within your application. 6 Artisan :: call (...

Laravel Collection Public API: diff

diff($items) The diff method is used to determine which items in the collection are not present in the supplied $items collection. $items can be be either an array, or another instance of Collection . The diff method returns a new instance of...

GitHub For Windows: Sync Failed With Uncommitted Changes

…en programming for some time, or have interest in keeping up with changes in the tech scene, then there is no doubt you have probably come across GitHub by now. If you are an adventurous programmer, you might even use it for your own projects or...

What Are They? | Lambdas And Closures

As stated earlier lambda's are anonymous functions. That is, a function without a name. PHP allows you to create these lambda functions and assign them to a variable, or even pass them as arguments to a function (this is what we are doing with...

Introduction & Installation

Search Report for Statamic is a simple Control Panel and utility addon that allows you to log searches made on your site, and view them within Statamic's Control Panel.Search Report for Statamic can be installed by running the following command...

Meerkat Blueprint Adjustments | Guide: User-Only Comment Setup

The first thing we need to do is remove the user name and email fields from the Meerkat comment blueprint. This will simplify the comment submission process later since we will no longer have to worry about validation of these fields. Within the...