idoneo / humano-core
Core functionality for Humano CRM system - Base framework with Users, Teams, Authentication, Categories, and Module System
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
Language:Blade
Requires
- php: ^8.2
- laravel/framework: ^10.0|^11.0|^12.0
- laravel/jetstream: ^4.0|^5.0
- laravel/sanctum: ^3.0|^4.0
- livewire/livewire: ^3.0
- spatie/laravel-activitylog: ^4.0
- spatie/laravel-package-tools: ^1.16
- spatie/laravel-permission: ^6.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^10.0.0||^9.0.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- spatie/laravel-ray: ^1.35
README
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.