Install once. Open /bisbond. Configure from one place.
Laravel Bisbond is a regional business toolkit for Laravel applications. It centralizes settings, Bangla formatting, invoice preview, SMS configuration, health checks, routes, commands, and future payment integrations in one dashboard.
Quick Start
Install the package and open the dashboard.
composer require ahsan-ul-alam/laravel-bisbond
php artisan bisbond:install
http://your-app.test/bisbond
Core Features
Dashboard Control Center
Central place to manage business settings and toolkit features.
Smart Settings
Database-driven settings with config fallback and caching.
Health Checks
Detect missing configuration and guide the user to fix it.
Bangla Formatter
Format digits, money, and date values for Bangla-first apps.
Invoice Preview
Preview invoice output using real dashboard settings.
Route & Command Explorer
Inspect package routes and artisan commands from one place.
Dashboard
The dashboard is the main setup center. From here, developers and users can:
- See business setup status
- Check invoice, SMS, and payment readiness
- Enable or disable modules
- Open quick actions to configure each section
- Inspect routes and commands
- Read developer help and integration guidance
Settings Groups
| Group | Purpose |
|---|---|
| General | Business name, phone, address, locale, currency |
| Formatter | Bangla digits, symbol, display preferences |
| Invoice | Invoice prefix, footer, logo placeholder, business details |
| SMS | Provider config, sender id, API key, templates |
| Payments | Provider registry, sandbox/live config, callback preview |
| Modules | Enable/disable formatter, invoice, SMS, and payments |
Modules
Formatter
Bangla formatting helpers and preview tools.
Invoice
Invoice settings and preview page.
SMS
Provider config and SMS template management.
Payments
Provider-ready architecture for local payment systems.
Bangla Formatter
Use built-in helpers to format digits, money, and dates.
bn_digits(1234); // ১২৩৪
bn_money(1500); // ৳১,৫০০.০০
bn_date(now()); // Bangla formatted date
Invoice Module
Invoice preview is generated from configured business and invoice settings.
- Business name
- Invoice prefix
- Footer note
- Phone and address
- Bangla formatted amount
Future expansion: PDF export and multiple invoice templates.
SMS Module
Configure your SMS provider and maintain reusable templates from the dashboard.
Templates:
- OTP
- Order Confirmation
- Payment Success
Placeholders:
{name}, {otp}, {amount}, {invoice_no}
Payment Architecture
Laravel Bisbond is designed to support local payment integrations through provider-based architecture.
Future-ready: provider interface, registry, and dashboard-based provider configuration.
Helper Functions
bisbond_setting('general.business_name');
bisbond_setting('invoice.prefix');
bisbond_module('invoice');
bisbond_module('sms');
bn_digits(1234);
bn_money(1500);
bn_date(now());
Commands
php artisan bisbond:install
php artisan optimize:clear
php artisan vendor:publish --tag=bisbond-config --force
Developer Guide
Use this package as a dashboard-first toolkit for Laravel regional business apps.
- Route prefix:
/bisbond - Settings are stored in
bisbond_settings - Use helpers to fetch settings and module status
- Use provider-based architecture for future SMS and payment integrations
- Publish config and views when customization is needed
Roadmap
- ✅ Dashboard-first settings and control center
- ✅ Bangla formatter helpers
- ✅ Invoice preview
- ✅ Health checks
- ✅ Route and command explorer
- 🔄 SMS configuration and template improvements
- 🔄 Payment provider architecture and registry
- 🔄 PDF invoice export
- 🔄 Plugin-style feature expansion