Homebrew is an excellent package manager for macOS, let's install it.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Seven different types of CSS attribute selectors | |
// This attribute exists on the element | |
[value] | |
// This attribute has a specific value of cool | |
[value='cool'] | |
// This attribute value contains the word cool somewhere in it | |
[value*='cool'] |
<?php | |
namespace App\Traits; | |
use Illuminate\Support\Str; | |
trait HasFilters | |
{ | |
public function scopeFilter($query, $filters = []) | |
{ |