Packages we built for our own SaaS products — open-sourced. Production-grade, opinionated, and built to do one thing well.
laravel-secure-fields
Laravel / PHP 8.3+ Encrypt sensitive Eloquent fields without losing the ability to query them.
When your database leaks, plain-text PII becomes a breach. This package encrypts sensitive fields transparently at the model level — no schema changes, no query rewrites. You can still search encrypted fields, rotate keys without downtime, and stay audit-ready for GDPR and HIPAA.
Highlights
- →
AES-256-GCM encryption with per-value random IV
- →
Searchable encrypted fields via blind indexes (HMAC-SHA256)
- →
Key rotation with zero downtime
- →
Field masking in toArray() & toJson()
- →
Audit logging for GDPR / HIPAA compliance
Installation
composer require vimatech/laravel-secure-fields
laravel-membership
Laravel / PHP 8.3+ Add teams, roles, and permissions to any SaaS — without the boilerplate.
Every multi-tenant app needs to know who belongs to which team, and what they're allowed to do. Built for our own SaaS products and open-sourced — handles membership and roles across any Eloquent model, ready to gate your features from day one.
Highlights
- →
Attach to any model — teams, projects, organisations
- →
Enum roles with hierarchy levels
- →
Role guards & policy helpers
- →
Events on membership changes
- →
Soft deletes for membership history
Installation
composer require vimatech/laravel-membership
laravel-invitations
Laravel / PHP 8.3+ Invite anyone to any Eloquent model — email invitations done right.
Every product needs onboarding. Send secure, expiring email invitations to join any Eloquent model — teams, projects, organisations, or globally. Built for our own SaaS onboarding and open-sourced, with a full accept, decline, cancel and resend lifecycle out of the box.
Highlights
- →
Invite by email to any Eloquent model — or globally
- →
Secure HMAC-hashed tokens, never stored in plain text
- →
Full lifecycle: accept, decline, cancel, resend
- →
Configurable expiration & duplicate policy
- →
Events fired for every action
Installation
composer require vimatech/laravel-invitation
laravel-document-numbering
Laravel / PHP 8.3+ Sequential, gap-free invoice numbers — even under load.
Gap-free numbering is a legal requirement for invoices in most jurisdictions. This package generates sequential, concurrency-safe numbers using database row locks — two requests can never take the same number or leave a hole.
Highlights
- →
Configurable patterns (INV-{YYYY}-{seq:5})
- →
Per-scope counters (company / tenant / branch)
- →
Yearly, monthly, or never resets
- →
Gap-free (transaction-bound) or fast-sequential mode
- →
Concurrency-safe via row locks · Octane-ready
Installation
composer require vimatech/laravel-document-numbering
laravel-integrations
Laravel / PHP 8.3+ Plug in any external provider — config, not code.
A config-driven ports & adapters foundation for external providers. Add a provider by writing one adapter class and a config entry — context routing and a normalized inbound webhook pipeline included. Intentionally domain-free, so it fits any integration.
Highlights
- →
Config-driven drivers (ports & adapters)
- →
Context routing (by country, tenant, …)
- →
Per-tenant driver overrides
- →
Normalized inbound webhook pipeline
- →
Canonical events with built-in idempotency
Installation
composer require vimatech/laravel-integrations
laravel-einvoicing
Laravel / PHP 8.3+ Generate compliant e-invoices natively — Peppol & EN 16931.
Produce structured e-invoices (Peppol BIS 3.0 UBL, EN 16931 CII) natively, validate them, and dispatch them through pluggable networks with per-country routing. Zero third-party runtime dependencies.
Highlights
- →
Peppol BIS 3.0 (UBL) generation
- →
EN 16931 (CII) generation
- →
Pluggable dispatch networks, per-country routing
- →
Inbound document handling
- →
Zero third-party runtime dependencies
Installation
composer require vimatech/laravel-einvoicing