承接 faheem2407/post-approval 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

faheem2407/post-approval

最新稳定版本:v1.0.0

Composer 安装命令:

composer require faheem2407/post-approval

包简介

basic post approval by admin

README 文档

README

This is Just a basic "Post Approval package" created by me using composer you can use it inside your laravel project to see the output.

what's inside ?

There is just two class PostApprove and PostRemove

How to use it ?

Just create a fresh laravel project : composer create-project laravel/laravel YourProjectName

Then go YourProject folder : cd YourProjectName

To use my package: composer require faheem2407/post-approval

Then :

 1.create a route
 2.use Faheem2407\PostApproval\PostApprove;
 3.use Faheem2407\PostApproval\PostRemove;
 4.inside your closure just make an instance of these class : new PostApprove(); or new PostRemove();

It will show you the output like the following :

Output:

if you create an instance of PostApprove Class output will be: Your post is approved by admin! you are ready to go...

if you create an instance of PostRemove Class output will be: Your post is removed by admin!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-02