| Package Data | |
|---|---|
| Maintainer Username: | DavidEgan |
| Package Create Date: | 2017-03-26 |
| Package Last Update: | 2017-04-23 |
| Language: | PHP |
| License: | Unknown |
| Last Refreshed: | 2025-12-10 03:03:14 |
| Package Statistics | |
|---|---|
| Total Downloads: | 19 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 3 |
| Total Open Issues: | 0 |
This package is under development.
Add the package service provider to the providers array on /config/app.php:
// /config/app.php
'providers' => [
// Blog Package
Carawebs\Blog\BlogProvider::class
];
Add the BlogUserTrait to your User model. This sets up Eloquent relationships:
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Carawebs\Blog\Traits\BlogUserTrait;
class User extends Authenticatable
{
use Notifiable;
use BlogUserTrait;
}