Download the PHP package ozankurt/laravel-blog without Composer
On this page you can find all versions of the php package ozankurt/laravel-blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-blog
Laravel Blog
Laravel Blog is a package that provides a simple blog system for Laravel applications.
Features
- Categories
- Posts
- Comments
- Media Types (Text, Single Image, Multiple Image, Video)
- Video Embedding (YouTube, Vimeo, DailyMotion)
External Requirements
This package requires 2 external packages for its functionality.
External Suggestions
You can use the following packages to enhance the functionality of the blog system.
Installation
You can install the package via composer:
Publish the package assets:
Run the migrations:
Usage
Modify the config/blog.php
configuration file to customize the package settings.
API
Category
Methods | Relationship |
---|---|
posts() | HasMany |
latestPost() | HasOne |
Post
Posts have a type_id
attribute so that the users can choose between:
- Text Post
- Single Image Post
- Multiple Image Post
- Video Post
Videos support 3 different providers:
- YouTube
- Vimeo
- DailyMotion
Methods | Relationship |
---|---|
category() | BelongsTo |
user() | BelongsTo |
comments() | HasMany |
latestComment() | HasOne |
Comment
Methods | Relationship |
---|---|
post() | BelongsTo |
user() | BelongsTo |
All versions of laravel-blog with dependencies
PHP Build Version
Package Version
The package ozankurt/laravel-blog contains the following files
Loading the files please wait ....