The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
<?php | |
namespace App; | |
use Illuminate\Support\Str; | |
use Silber\Bouncer\Database\Role; | |
/** | |
* Trait AssignsRoles. | |
* Works with Silber\Bouncer to add some role assignment helpers |
<?php | |
namespace App; | |
use Carbon\Carbon; | |
trait Expires | |
{ | |
public static function bootExpires() | |
{ |
<?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; |
#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)
I hereby claim:
To claim this, I am signing this object: