Skip to content

๐Ÿ“ Laravel package for my opinionated style of adding blog posts to Laravel projects

License

Notifications You must be signed in to change notification settings

drewroberts/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Laravel package for opinionated blog implementation

Latest Version on Packagist Tests Total Downloads

Laravel blog package similar to WordPress design with Pages & Posts.

Installation

You can install the package via composer:

composer require drewroberts/blog

You can publish the config file with:

php artisan vendor:publish --provider="DrewRoberts\Blog\BlogServiceProvider" --tag="config"

This is the contents of the published config file:

return [
];

Models

We include the following models in this package:

List of Models

  • Page
  • Post
  • Series
  • Topic

For each of these models, this package implements an authorization policy that extends the roles and permissions approach of the tipoff/authorization package. The policies for each model in this package are registered through the package and do not need to be registered manually.

The models also have Laravel Nova resources in this package and they are also registered through the package and do not need to be registered manually.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

๐Ÿ“ Laravel package for my opinionated style of adding blog posts to Laravel projects

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project