定制 webbundels/essentials 二次开发

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

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

webbundels/essentials

最新稳定版本:1.0.1

Composer 安装命令:

composer require webbundels/essentials

包简介

Webbundels Essentials

README 文档

README

Installation

  1. Add the package to your project.
composer require webbundels/essentials
  1. Add the needed arguments to your .env file
# The token that the package will use to send requests to github to gather info.
GITHUB_TOKEN='github_YOURTOKEN'
# The owner of the repositories, for example: github.com/{owner}/{repo}
GITHUB_OWNER='webbundels'
# The repository(ies) of which the package should gather commits from seperate each repository with a ','
GITHUB_REPOSITORIES='jongfresh-app,jongfresh-online'
  1. Migrate the database.
php artisan migrate

View permissions

  1. Add the methods 'getChangelogViewableAttribute' and 'getDocumentationViewableAttribute' to your user model.
  2. Write logic in this method that determines if the user can view the changelog/documentation page.
public function getChangelogViewableAttribute() :bool
{
    return $this->can('view_changelog');
}

public function getDocumentationViewableAttribute() :bool
{
    return $this->can('view_documentation');
}

Edit permissions

  1. Add the method 'getChangelogEditableAttribute' and 'getDocumentationEditableAttribute' to your user model.
  2. Write logic in this method that determines if the user can edit the changelog/documentation page.
public function getChangelogEditableAttribute() :bool
{
    return $this->can('edit_changelog');
}

public function getDocumentationEditableAttribute() :bool
{
    return $this->can('edit_changelog');
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固