I hereby claim:
- I am keoghan on github.
- I am keoghan (https://keybase.io/keoghan) on keybase.
- I have a public key ASBJJvtuJUTl17kWbT_Qi2gkS0FjQS2gXAjoQRskh_ruUQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#Laravel Valet HTTPS
Prior to Valet 1.1 you could user HAproxy After the introduction of Caddy server in Valet 1.1 you can add a simple file. (Recommend still generating a certificate to use for now).
Assuming we are using .dev domain.
#Valet 1.1+
Build a certificate (see next section)
| <?php | |
| namespace Whitebox\Models; | |
| use Carbon\Carbon; | |
| use Illuminate\Database\Eloquent\Builder; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Database\Eloquent\ScopeInterface; | |
| use Illuminate\Database\Query\Builder as QueryBuilder; |
| <?php | |
| namespace App; | |
| use Carbon\Carbon; | |
| trait Expires | |
| { | |
| public static function bootExpires() | |
| { |
| <?php | |
| namespace App; | |
| use Illuminate\Support\Str; | |
| use Silber\Bouncer\Database\Role; | |
| /** | |
| * Trait AssignsRoles. | |
| * Works with Silber\Bouncer to add some role assignment helpers |