juzaweb/core 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

juzaweb/core

最新稳定版本:5.1.0

Composer 安装命令:

composer require juzaweb/core

包简介

Juzaweb CMS Core

README 文档

README

Test Total Downloads GitHub Repo stars GitHub followers

Juzaweb Core is the kernel of the Juzaweb CMS ecosystem, providing the essential building blocks for modular web applications. It handles the core logic for Modules, Themes, Hooks, Settings, and User Management, following a robust Facade-Contract-Repository architecture.

Requirements

  • PHP >= 8.2
  • Laravel >= 11.0

Documentation

Features

  • Modular Architecture: Built-in support for modular development, allowing you to organize your application into independent modules.
  • Theme System: Powerful theme management system with support for theme settings, widgets, and templates.
  • Hook System: Extensible hook system (actions and filters) powered by juzaweb/hooks for plugin-like extensibility.
  • User Management: Comprehensive role-based access control (RBAC) with user roles and permissions.
  • Media Manager: Integrated file manager for handling uploads and media assets.
  • Settings API: Global settings management with support for different storage drivers and caching.
  • Social Login: Built-in support for social authentication (Google, Facebook, Twitter, Github, Instagram).
  • Security: Secure by default with features like ReCaptcha validation and strict permission checks.

Installation

Install the package via Composer:

composer require juzaweb/core

Publish the configuration files:

php artisan vendor:publish --tag=core-config

This will publish the following config files to your config/ directory:

  • core.php
  • media.php
  • modules.php
  • themes.php
  • translator.php

Publish the assets:

php artisan vendor:publish --tag=core-assets

Architecture

This package follows a strict Facade -> Contract -> Repository pattern for its core components. This ensures loose coupling and makes the system highly testable and extensible.

Key components include:

  • GlobalData: Central registry for global application data.
  • Setting: Manages global settings.
  • Theme: Handles theme registration and management.
  • Module: Manages application modules.
  • Hook: Manages actions and filters.

Most functionalities are exposed via Facades (e.g., Juzaweb\Modules\Core\Facades\Theme) which resolve to their respective Contracts and Repositories.

Development

Testing

Run the test suite:

composer test

Run tests with coverage:

composer test-coverage

Code Formatting

Format code using Laravel Pint:

composer format

Check code formatting without making changes:

composer format -- --test

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

License

The Juzaweb Core package is open-sourced software licensed under the GPL-2.0 license.

统计信息

  • 总下载量: 3.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 20
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2021-08-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固