Skip to content

Commit a1af68a

Browse files
committed
readme update
1 parent 5ae4c90 commit a1af68a

File tree

1 file changed

+10
-49
lines changed

1 file changed

+10
-49
lines changed

README.md

Lines changed: 10 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Have you worked with Wordpress? Developers call it wordpress-like laravel package.
1313

1414
### Contact us for any customization:
15-
contact@binshops.com
15+
sam@binshops.com
1616

1717
### Lightweight and Comprehensive
1818

@@ -22,6 +22,7 @@ Incredible features with a lightweight laravel blog package. I highly recommend
2222
- Included great features out-of-box
2323
- Its simplicity allows to be easily made compatible with latest laravel
2424
- No additional concept except laravel knowledge
25+
- Compatible with other Laravel platforms like Bagisto
2526

2627
## Outstanding Features
2728
- Fulltext Search - search throughout all blog posts
@@ -30,57 +31,15 @@ Incredible features with a lightweight laravel blog package. I highly recommend
3031

3132
### Quick and easy installation
3233

33-
1- Install the package:
34-
35-
composer require hessam/laravel-blogger
36-
37-
2- Run the following commands to copy config file, migration files, and view files
38-
39-
`php artisan vendor:publish --provider="HessamCMS\HessamCMSServiceProvider"`
40-
41-
3- Execute migrations to create tables
42-
43-
`php artisan migrate;`
44-
45-
4- You must add one method to your \App\User (in laravel 8 \App\Models\User) model. As the name of this method shows it determines which user can manage posts. Place your logic there.
46-
47-
```
48-
public function canManageHessamCMSPosts()
49-
{
50-
// Enter the logic needed for your app.
51-
// Maybe you can just hardcode in a user id that you
52-
// know is always an admin ID?
53-
if ( $this->id === 1
54-
&& $this->email === "your_admin_user@your_site.com"
55-
){
56-
57-
// return true so this user CAN edit/post/delete
58-
// blog posts (and post any HTML/JS)
59-
60-
return true;
61-
}
62-
63-
// otherwise return false, so they have no access
64-
// to the admin panel (but can still view posts)
65-
66-
return false;
67-
}
68-
```
69-
70-
5- Create a directory in `public/` named `blog_images`
71-
72-
6- Login as ADMIN and setup your package: `/blog_admin/setup`
73-
74-
7- Congrats! Your blog is ready to use. (URLs are customizable in the config file)
75-
```
76-
Admin panel URI: /blog_admin
77-
Front URI: /en/blog
78-
```
34+
`composer require hessam/laravel-blogger`
7935

8036
### For Complete Setup Instructions (with video guide), please Visit [The Install Guide](https://hessam.binshops.com/laravel-blog-package#setup)
8137

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

40+
### Bagisto version
41+
To see the Bagisto version of this package go to `bagisto-compatible` branch
42+
8443
## Important Notes
8544
- For laravel 8.x's default auth User model, change user model in `hessamcms.php` to: `\App\Models\User::class`
8645

@@ -99,7 +58,8 @@ To see package on Packagist click this [Link](https://packagist.org/packages/hes
9958
- Other options include using Disqus comments or disabling comments
10059

10160
## Recent Changes
102-
- **8.0.x** Compatibility with Laravel 8.x
61+
- **9.1.x** Multi language support
62+
- 8.0.x Compatibility with Laravel 8.x
10363

10464
## Screen Shots
10565

@@ -175,7 +135,8 @@ Try adding this to config/app.php:
175135
- 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.
176136

177137
## Version History
178-
- **9.0.x** Multi-language support beta release
138+
- **9.1.x** Stable version of package
139+
- 9.0.x Multi-language support beta release
179140
- 8.0.x Compatibility with Laravel 8
180141
- 7.3.2 Some bug fixes
181142
- 7.3.0 New Admin UI

0 commit comments

Comments
 (0)