定制 idoneo/humano-core 二次开发

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

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

idoneo/humano-core

最新稳定版本:v1.1.7

Composer 安装命令:

composer require idoneo/humano-core

包简介

Core functionality for Humano CRM system - Base framework with Users, Teams, Authentication, Categories, and Module System

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Core functionality for the Humano CRM system. This package provides the foundational framework including user management, teams, authentication, categories, and the modular system architecture.

Features

  • User & Team Management: Built on Laravel Jetstream with team switching capabilities
  • Authentication: Complete authentication system with permissions via Spatie Permission
  • Modular System: Base architecture for adding CRM, Billing, Communications, and Hosting modules
  • Categories: Flexible categorization system for organizing data across modules
  • Notes: Polymorphic notes system that can be attached to any model
  • Activity Logging: Comprehensive activity tracking via Spatie ActivityLog
  • Dashboard: Analytics dashboard with team statistics and module status
  • UI Framework: Based on Vuexy template with Livewire 3 integration

Installation

Install the package via Composer:

composer require idoneo/humano-core

Publish and run the migrations:

php artisan vendor:publish --tag="humano-core-migrations"
php artisan migrate

Publish the config file (optional):

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

Install the core system:

php artisan humano:install

Usage

Basic Setup

After installation, the package provides:

  • Dashboard at /dashboard/analytics
  • Category management at /categories
  • Team settings and management
  • User authentication via Jetstream

Module System

The core package includes a module management system. Other Humano packages register themselves automatically:

// Automatically registered by other Humano packages
$modules = \Idoneo\HumanoCore\Models\Module::active()->get();

Categories

Create categories for organizing data across modules:

use Idoneo\HumanoCore\Models\Category;

$category = Category::create([
    'name' => 'Important Contacts',
    'description' => 'High priority contacts',
    'module_key' => 'crm',
    'color' => '#dc3545',
    'icon' => 'ti ti-star',
    'team_id' => auth()->user()->currentTeam->id,
]);

Notes System

Add notes to any model using the polymorphic relationship:

use Idoneo\HumanoCore\Models\Note;

// Add note to any model
$contact = Contact::find(1);
$note = $contact->notes()->create([
    'content' => 'Important follow-up needed',
    'user_id' => auth()->id(),
    'team_id' => auth()->user()->currentTeam->id,
]);

Installation Command

Install additional modules selectively:

# Install specific modules
php artisan humano:install --modules=crm,billing

# Interactive installation
php artisan humano:install

Configuration

The config file allows customization of:

return [
    'dashboard' => [
        'default_route' => 'dashboard.analytics',
        'show_analytics' => true,
    ],
    'teams' => [
        'allow_team_creation' => true,
        'max_teams_per_user' => 5,
    ],
    'modules' => [
        'enabled_modules' => ['crm', 'billing', 'communications', 'hosting'],
    ],
];

Related Packages

  • idoneo/humano-crm: Contact and project management
  • idoneo/humano-billing: Invoicing and payment processing
  • idoneo/humano-communications: Email, chat, and notifications
  • idoneo/humano-hosting: Server and domain management

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固