Skip to content

Commit 8541982

Browse files
committed
compatibility with laravel 8
1 parent 9432717 commit 8541982

File tree

2 files changed

+9
-28
lines changed

2 files changed

+9
-28
lines changed

README.md

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Laravel Blog Package
2-
## Easy to install Laravel Blog Package with admin backend - With Multi-level categories
1+
# Complete Laravel Blog Package
2+
## With Multi-level Categories and Full Text Search
33
It has everything you need to quickly and easily add a blog to your laravel app.
44

55
### Quick and easy installation
@@ -12,6 +12,9 @@ Install with following command and follow the instructions.
1212

1313
To see package on Packagist click this [Link](https://packagist.org/packages/hessam/laravel-blogger)
1414

15+
## Recent Changes
16+
- **8.0.0** Compatibility with Laravel 8
17+
1518
### Screen Shots
1619

1720
<p align="center">
@@ -98,12 +101,6 @@ To see package on Packagist click this [Link](https://packagist.org/packages/hes
98101
2) if `use_custom_view_files` is enabled in the config (which it is by default), it means that any post with a custom view file set (details in the docs) can include any file within `/resources/views/custom_blog_posts`, which blade will execute. This package gives no method to edit any file within that directory though.
99102

100103

101-
102-
## How to install Laravel Blogger to your laravel app
103-
104-
Please see my [Laravel Blogger Package Documentation/install guide](https://hessam.binshops.com/laravel-blog-package#setup) for install instructions. (It is very simple - done via composer/artisan commands, plus adding one method to your \App\User model (`canManageBlogEtcPosts()` which should return `true` if this user can manage the blog).
105-
106-
107104
## How to customise the blog views/templates
108105

109106
After doing the correct `vendor:publish`, all of the default template files will be found in /resources/views/vendor/blogetc/ and are easy to edit to match your needs.
@@ -137,16 +134,7 @@ There is a built in captcha (anti spam comment) system built in, which will be e
137134

138135
Please see [this Captcha docs](https://hessam.binshops.com/laravel-blog-package#captcha) for more details.
139136

140-
141-
## Recent changes:
142-
143-
1) Added full text search and search views. You have to enable it in the config file (see latest config file)
144-
2) Need more than the 3 default image sizes? Add more in the config/blogetc.php file, add the database column for it and it'll work!
145-
3) Multi-level category feature (now is limited to 3 levels)
146-
147-
## Having problems, something is not working?
148-
149-
*Image upload errors?*
137+
## Image upload errors
150138

151139
Try adding this to config/app.php:
152140

@@ -156,15 +144,8 @@ Try adding this to config/app.php:
156144
- Ensure that /public/blog_images (or whatever directory you set it to in the config) is writable by the server
157145
- You might need to set a higher memory limit, or upload smaller image files. This will depend on your server. I've used it to upload huge (10mb+) jpg images without problem, once the server was set up correctly to handle larger file uploads.
158146

159-
## After Upgrade to v7.1.4
160-
After upgraded to latest version follows these steps:
161-
- run `php artisan vendor:publish --tag=laravel-fulltext --force `
162-
- In `config/laravel-fulltext.php` file change exclude_feature_enabled to `true` and change exclude_records_column_name to `is_published`
163-
164-
## After Upgrade to 7.2.x
165-
- run `php artisan vendor:publish --provider="WebDevEtc\BlogEtc\BlogEtcServiceProvider"`
166-
167147
## Version History
148+
- **8.0.0** Compatibility with Laravel 8
168149
- 7.3.2 Some bug fixes
169150
- 7.3.0 New Admin UI
170151
- 7.2.2

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
}
2929
],
3030
"require": {
31-
"laravel/framework": "^7.0|^6.0",
32-
"cviebrock/eloquent-sluggable": "4.5.*|4.6.*|4.7.*|4.8.*|6.0.*|7.0.*",
31+
"laravel/framework": "~5.8|~6.0|~7.0|~8.0",
32+
"cviebrock/eloquent-sluggable": "~8.0|~7.0|~6.0|~4.8|~4.7|~4.6|~4.5",
3333
"laravelium/feed": "~2.12.0|~3.0.0|3.1.*|v6.0.*|v7.0.*",
3434
"intervention/image": "2.*",
3535
"swisnl/laravel-fulltext": "^0.19.0",

0 commit comments

Comments
 (0)