Skip to content

Instantly share code, notes, and snippets.

Avatar

Tim MacDonald timacdonald

View GitHub Profile
View Builder.php
<?php
namespace App\Builders;
use Illuminate\Database\Eloquent\Builder as BaseBuilder;
class Builder extends BaseBuilder
{
public function search($term, $attributes)
{
View proposed.md
Trial Trial + Cancelled Recurring Recurring + Cancelled Cancelled [ended]
ended()
resumable()
activelyRecurring()
View existing.md
Trial Trial + Cancelled Recurring Recurring + Cancelled Cancelled [ended]
onTrial()
active()
valid()
cancelled()
onGracePeriod()
@timacdonald
timacdonald / ContactIndexResponse.php
Last active Oct 29, 2020
Easily respond to content types and url extensions
View ContactIndexResponse.php
<?php
namespace App\Http\Responses;
use App\Models\ContactType;
use App\Factories\CsvFactory;
class ContactIndexResponse extends Response
{
public function __construct($contacts)
You can’t perform that action at this time.