PHPackages                             azaharizaman/nexus-crm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. azaharizaman/nexus-crm

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

azaharizaman/nexus-crm
======================

Pure CRM domain logic package with zero business package dependencies for Nexus ERP

v0.1.0-alpha1(1mo ago)001MITPHPPHP ^8.3

Since May 5Pushed 1mo agoCompare

[ Source](https://github.com/azaharizaman/nexus-crm)[ Packagist](https://packagist.org/packages/azaharizaman/nexus-crm)[ RSS](/packages/azaharizaman-nexus-crm/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

Nexus CRM Package
=================

[](#nexus-crm-package)

A pure CRM domain logic package with zero business package dependencies for Nexus ERP.

Overview
--------

[](#overview)

This package provides the core CRM (Customer Relationship Management) domain logic including:

- **Lead Management** - Lead scoring, qualification, and lifecycle management
- **Opportunity Management** - Sales opportunity tracking and stage transitions
- **Pipeline Management** - Sales pipeline configuration and analytics
- **Activity Management** - CRM activity tracking and history

Architecture
------------

[](#architecture)

This is an **Atomic Package** following Nexus ERP's package architecture:

- **Zero business package dependencies** - No dependencies on `azaharizaman/nexus-party`, `azaharizaman/nexus-sales`, etc.
- **Pure domain logic** - Contains only CRM-specific business rules and value objects
- **Interface-driven** - All external integrations through interfaces implemented by orchestrators

Installation
------------

[](#installation)

```
composer require azaharizaman/nexus-crm
```

Features
--------

[](#features)

### Lead Management

[](#lead-management)

- Lead scoring engine with configurable rules
- Lead status lifecycle (New, Contacted, Qualified, Converted, Disqualified)
- Lead source tracking and attribution

### Opportunity Management

[](#opportunity-management)

- Stage-based opportunity tracking
- Forecast probability calculation
- Stage transition validation

### Pipeline Management

[](#pipeline-management)

- Configurable sales pipelines
- Pipeline stage definitions
- Pipeline analytics support

### Activity Management

[](#activity-management)

- Activity type tracking (Call, Email, Meeting, Task, Note)
- Activity duration tracking
- Activity history and audit

Usage
-----

[](#usage)

```
use Nexus\CRM\Services\LeadScoringEngine;
use Nexus\CRM\Services\StageTransitionService;
use Nexus\CRM\ValueObjects\LeadScore;
use Nexus\CRM\Enums\LeadStatus;
use Nexus\CRM\Enums\OpportunityStage;

// Lead scoring
$score = $leadScoringEngine->calculateScore($lead);

// Stage transitions
$opportunity = $stageTransitionService->advance($opportunity, OpportunityStage::Negotiation);
```

Testing
-------

[](#testing)

```
./vendor/bin/phpunit
```

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

Author
------

[](#author)

Azahari Zaman ()

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance93

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

36d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/117408?v=4)[Azahari Zaman](/maintainers/azaharizaman)[@azaharizaman](https://github.com/azaharizaman)

---

Top Contributors

[![azaharizaman](https://avatars.githubusercontent.com/u/117408?v=4)](https://github.com/azaharizaman "azaharizaman (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/azaharizaman-nexus-crm/health.svg)

```
[![Health](https://phpackages.com/badges/azaharizaman-nexus-crm/health.svg)](https://phpackages.com/packages/azaharizaman-nexus-crm)
```

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

515135.1M619](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[phpro/soap-client

A general purpose SoapClient library

8955.9M52](/packages/phpro-soap-client)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k41](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

744284.3k34](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.9M199](/packages/illuminate-broadcasting)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
