定制 damoonpro/laravel-blog 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

damoonpro/laravel-blog

Composer 安装命令:

composer require damoonpro/laravel-blog

包简介

This is blog module for damoon company

README 文档

README

Description 📚

  • This package make easily blog management
  • Right now we are working on [ v1 ] package

TODO ✍️

  1. Set filter for blogs

Routes 🚀

  • Every route start with [ v1/blog ]
Guest 🧑‍⚕️👨‍⚕️
URL METHOD REQUEST DESCRIPTION RESPONSE
/ GET { ---- } Collect latest confirmed blogs.
This route has paginate 9
[ { title, slug, description, meta_title, meta_description, categories = [ { id, label } ], user = { name, ! is_admin } }, views, likes, files = [ { id, url } ] } ]
{slug} GET { ---- } Get single view of blogs { title, slug, description, body, meta_title, meta_description, categories = [ { id, label } ], ! user = { name, ! is_admin }, views, likes, files = [ { id, url } ] }

User 🧑‍💻
URL METHOD REQUEST DESCRIPTION RESPONSE
me/blog/create POST { title, description, body, meta_title, meta_description, ! categories } create a blog for user { message, blog = { slug } }
me/blog GET { ---- } Collect latest user blog.
This route has paginate 9
[ { title, slug, description, meta_title, meta_description, categories = [ { id, label } ], views, likes, files = [ { id, url } ] } ]
me/{slug} GET { ---- } Get single view of blogs if blog belong to authenticated user { title, slug, description, body, meta_title, meta_description, categories = [ { id, label } ], views, likes, files = [ { id, url } ] }
me/blog/{slug}/update PUT { title, description, body, meta_title, meta_description, ! categories } user update the his blog { message, blog = { slug } }
me/blog/{slug}/file/upload POST { file } upload file for blog if blog belong to user { message, file = { url } }
me/blog/{slug}/file/{id}/delete DELETE { file } delete file of blog if blog belong to user { message, file = { id } } or { message, blog = { slug } }
{slug}/like POST { ---- } like and unlike blog by authenticated user { message, blog = { slug } }

Admin 😎
URL METHOD REQUEST DESCRIPTION RESPONSE
admin/blog GET { ---- } Collect latest blogs for admin
This route has paginate 9
[ { title, slug, description, meta_title, meta_description, categories = [ { id, label } ], user = { name, ! is_admin }, views, likes, files = [ { id, url } ] } ]
admin/blog/category GET { ---- } Collect categories for admin
This route has paginate 9
[ { id, label, user = { name, is_admin }, confirmed } ]
admin/blog/category/{id}/update PUT { label, ! confirmed } Update category setting
If the category created by admin label can change to
{ message, category = { id } }
admin/blog/category/{id}/delete DELETE { ---- } Delete category
If the category created by other admin you can't deleted
{ message, category = { id } }
admin/blog/category/{id}/confirmed POST { ---- } Change category state to enable or disable { message, category = { id } }

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固