PHPackages                             insurance-core/helpers - 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. insurance-core/helpers

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

insurance-core/helpers
======================

Utility helpers package for Laravel applications

v4.3.6(2mo ago)033MITPHPPHP ^8.1|^8.2|^8.3

Since Oct 3Pushed 2mo agoCompare

[ Source](https://github.com/Sudhir-Pratap/insurance-core)[ Packagist](https://packagist.org/packages/insurance-core/helpers)[ Docs](https://github.com/Sudhir-Pratap/insurance-core)[ RSS](/packages/insurance-core-helpers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (47)Used By (0)

🛠️ Insurance Core Utils Package
===============================

[](#️-insurance-core-utils-package)

Utility helpers package for Laravel applications.

A comprehensive collection of utility helpers and tools for Laravel applications, providing essential functionality for development and deployment.

🎯 Key Features
--------------

[](#-key-features)

✅ **Seamless Integration**: Easy to integrate with existing Laravel projects
✅ **System Validation**: Built-in system validation and configuration checks
✅ **Domain Whitelisting**: Supports domain whitelisting with wildcard patterns (e.g., `*.example.com`)
✅ **Deployment Tools**: Helpful utilities for deployment and environment management
✅ **Cache Management**: Efficient cache handling and optimization
✅ **System Monitoring**: Built-in status checking and diagnostics
✅ **Configuration Management**: Centralized configuration management

🚀 Quick Installation
--------------------

[](#-quick-installation)

```
# Install package
composer require insurance-core/helpers

# Publish configuration
php artisan vendor:publish --provider="InsuranceCore\Utils\UtilsServiceProvider" --tag=config

# Check system status
php artisan utils:info
```

📝 Configuration
---------------

[](#-configuration)

### Required (for production/staging after grace period)

[](#required-for-productionstaging-after-grace-period)

Add these to your `.env` file for full validation:

```
# REQUIRED: Get these from your license server
UTILS_KEY=your_system_key                    # System key from license server
UTILS_PRODUCT_ID=your_product_id            # Product identifier
UTILS_CLIENT_ID=your_client_id              # Client identifier
UTILS_API_TOKEN=your_secure_api_token       # API token for server communication
```

### Optional (has defaults)

[](#optional-has-defaults)

```
# OPTIONAL: Server URL (has default)
UTILS_SERVER=https://your-server.com/api     # Default: https://license.acecoderz.com/

# OPTIONAL: Cryptographic secret (falls back to APP_KEY)
UTILS_SECRET=your_cryptographic_secret_key   # For key generation/validation checksums
```

### Getting Your System Key

[](#getting-your-system-key)

1. **Run the info command** to get your system identifiers:

    ```
    php artisan utils:info
    ```

    This will show:

    - Hardware fingerprint
    - Installation ID
    - System identifiers
2. **Generate system key** from your license server using:

    - Hardware fingerprint
    - Domain
    - Product ID
    - Client ID
3. **Add to `.env`** file and restart your application

### Fresh Installation

[](#fresh-installation)

- **Local/Dev**: No configuration needed (always allowed)
- **Production/Staging**: 7-day grace period (app works without config)
- After grace period: Configuration required for full validation

🔧 Management Commands
---------------------

[](#-management-commands)

### System Information

[](#system-information)

- `utils:info` - Show system information and hardware fingerprint
- `utils:diagnose` - Diagnose system configuration issues
- `utils:test` - Test system functionality

### Key Management

[](#key-management)

- `utils:generate-key` - Generate a system key for the application

### Deployment

[](#deployment)

- `utils:deployment` - Help troubleshoot and fix system issues during deployment
    - `--check` - Check current deployment status
    - `--fix` - Attempt to fix deployment issues
    - `--regenerate` - Force regenerate hardware fingerprint
    - `--test` - Test system after fixes

### Utilities

[](#utilities)

- `utils:clear-cache` - Clear system cache
- `utils:optimize` - Optimize system performance
- `utils:audit` - Comprehensive system assessment

📋 Usage Examples
----------------

[](#-usage-examples)

### Check System Status

[](#check-system-status)

```
php artisan utils:info
```

### Diagnose Issues

[](#diagnose-issues)

```
php artisan utils:diagnose --fix
```

### Generate System Key

[](#generate-system-key)

```
# First, get your hardware fingerprint
php artisan utils:info

# Then generate key
php artisan utils:generate-key \
  --product-id=YOUR_PRODUCT_ID \
  --domain=example.com \
  --ip=192.168.1.1 \
  --client-id=YOUR_CLIENT_ID \
  --hardware-fingerprint=YOUR_FINGERPRINT \
  --installation-id=YOUR_INSTALLATION_ID
```

### Deployment Helper

[](#deployment-helper)

```
# Check deployment status
php artisan utils:deployment --check

# Fix deployment issues
php artisan utils:deployment --fix

# Regenerate hardware fingerprint
php artisan utils:deployment --regenerate
```

🔐 Security
----------

[](#-security)

This package includes built-in security features:

- Hardware fingerprinting for installation tracking
- Secure key generation and validation
- Configuration encryption support
- System integrity monitoring

📦 Requirements
--------------

[](#-requirements)

- PHP 8.1 or higher
- Laravel 9.0 or higher
- Composer

🤝 Support
---------

[](#-support)

For support, email  or visit

📄 License
---------

[](#-license)

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

🔄 Version History
-----------------

[](#-version-history)

See [CHANGELOG.md](CHANGELOG.md) for version history and updates.

---

**Note**: This package is designed to work seamlessly with your Laravel application. All configuration is optional and the package will work with sensible defaults.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance83

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~3 days

Recently: every ~14 days

Total

45

Last Release

86d ago

Major Versions

v1.2.0 → v2.0.02025-11-13

v2.1.0 → v3.0.02025-11-13

v3.3.0 → v4.0.02025-11-13

v1.2.1 → v4.0.12025-11-14

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.0.1PHP ^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b7c0da9b29c45d2173eeaab42c566714dc5d0ce6c21dd0693ad83518a4114b1?d=identicon)[Sudhir-Pratap](/maintainers/Sudhir-Pratap)

---

Top Contributors

[![acecoderz-lab](https://avatars.githubusercontent.com/u/194346278?v=4)](https://github.com/acecoderz-lab "acecoderz-lab (79 commits)")

---

Tags

laravelhelperstoolsutilities

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/insurance-core-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/insurance-core-helpers/health.svg)](https://phpackages.com/packages/insurance-core-helpers)
```

###  Alternatives

[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)

PHPackages © 2026

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