bantenprov / laravel-blog
There is no license information available for the latest version (1.0.0) of this package.
1.0.0
2017-03-27 20:47 UTC
Requires
- illuminate/support: 5.4.*
- laravelcollective/html: ^5.4.0
Requires (Dev)
- phpspec/phpspec: ~2.0
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2024-12-22 05:29:28 UTC
README
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; }