Download the PHP package doctype_admin/blog without Composer
On this page you can find all versions of the php package doctype_admin/blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download doctype_admin/blog
More information about doctype_admin/blog
Files in doctype_admin/blog
Download doctype_admin/blog
More information about doctype_admin/blog
Files in doctype_admin/blog
Vendor doctype_admin
Package blog
Short Description Package to integrate blog system to your Doctype Admin
License MIT
Package blog
Short Description Package to integrate blog system to your Doctype Admin
License MIT
Please rate this library. Is it a good library?
Informations about the package blog
Laravel 7 Admin Panel for lazy developers.
Contains : -
- Post Management
- Category Management
Installation
Run Composer Require Command
Install package assets
Install all assets
This command will publish
- config file named Blog.php
- views files of post and category
- migrations files
- seed files
Install config file only
Install view files only
Install migrations files only
Install seed files only
Then migrate database
This Package includes two seed
- PostsTableSeeder
- CategoriesTableSeeder
To use specific seed use
Note
If seed class is not found try running composer dump-autoload
Update Note
- Blog Routes has been changed from prefix admin/post and admin/category to admin/blog/post and admin/blog/category
Package Config File
To add the package route link to be accesable from sidemenu just add following on config/adminlte.php undr key 'menu'
Post Scopes
Scopes | Description |
---|---|
Post::featured()->get() | Retives all featured posts |
Post::featuredLimit(\$limit)->get() | Retives \$limit(type integer) no. of posts |
Post::published()->get() | Retrives published posts |
Post::draft()->get() | Retrives draft posts |
Post::pending()->get() | Retrives pending |
posts |
Cached Posts
Doctype admin blog uses facade "Post" to retrive cached data. | Use | Description |
---|---|---|
Post::allPosts | Retives all posts | |
Post::pendingPosts | Retives Pending Posts | |
Post::draftPosts | Retrives draft posts | |
Post::publishedPosts | Retrives published posts | |
Post::blog | Retrives Blog posts | |
Post::event | Retrives event posts | |
Post::news | Retrives news posts | |
Post::job | Retrives job posts | |
Post::relatedTagPosts(post,limit) | Retrives limit no. of posts related to post arguement instance tag | |
Post::relatedCategoryPosts($post,$limit) | Retrives limit no. of posts related to post arguement instance category | |
Post::relatedPosts($post,$limit) | Retrives limit no. of posts related to post arguement instance tag and category |
Related Post Usages
similar goes to relatedTagPost and relatedPost.
Note
- relatedTagPost scopes uses tags used by the instance to find out other related post using its tags.
- If you want to use ModelScope provied by doctype admin panel just use ModelScopes on Post Model
Working with package
- This package uses https://github.com/rtconner/laravel-tagging for tagging posts so you can check it's documentation for further manipulation
- This package uses https://github.com/cviebrock/eloquent-sluggable for slugging post so you can check it's documentation for further manipulation
Our Post Model
What's New ?
New Thumbnail featured added
How to use thumbnails ? Just use as follows
Admin Panel Screenshot
Todos
- Better Confile File Control
- Post Analytics
- Algolia Post Search Funtionality
- Maintainabilty
- Better UI
Package Used
- https://github.com/rtconner/laravel-tagging
- https://github.com/jeroennoten/Laravel-AdminLTE
- https://github.com/cviebrock/eloquent-sluggable
License
MIT
DOCTYPE NEPAL ||DR.H2SO4
All versions of blog with dependencies
PHP Build Version
Package Version
Requires
rtconner/laravel-tagging Version
~4.0
intervention/image Version ^2.4@dev
cviebrock/eloquent-sluggable Version ^7.0
drh2so4/thumbnail Version ^1.0
intervention/image Version ^2.4@dev
cviebrock/eloquent-sluggable Version ^7.0
drh2so4/thumbnail Version ^1.0
The package doctype_admin/blog contains the following files
Loading the files please wait ....