CrmLeaf Community Edition - free tools, source included
The open-source half of CrmLeaf: every free business tool, plus the Indian payroll and statutory calculation engine underneath them. MIT licensed. Fork it, host it on your own servers, brand it as your own, keep it forever.
- MIT licence
- No seat limits
- Air-gap capable
- No database · no backend · PHP 8.2+ only if you embed the engine
$ composer require crmleaf/payroll-core✓ crmleaf/payroll-core v1.0.0 installed✓ 0 dependencies beyond ext-json$ git clone https://github.com/CrmLeaf/<tool>.git$ cp <tool>/index.html /var/www/html/tools/✓ no server process, no database→ open /tools/ - it just runs
A free tool you can use. An open one you can own.
The CrmLeaf Community Edition is the open-source part of CrmLeaf: the free tools and the calculation engine beneath them, published under MIT. It is not a self-hosted copy of the CrmLeaf platform - the comparison below spells out exactly where the line falls. Free means you can use it. Open source means nobody, including us, can take it away or put it behind a login later.
Put it on your own domain
Each browser tool is one self-contained HTML file. Copy it to your web server and it runs - no database, no build step, no backend, no dependency on us being online.
Make it look like yours
Change the colours, swap the logo, edit the wording, remove our branding entirely. MIT permits it, and agencies putting these in front of their own clients are exactly who we had in mind.
Embed it in what you already run
Drop a tool into your intranet, client portal or internal wiki. Or skip the interface and call the calculation engine directly from PHP, Laravel or TypeScript.
Verify it instead of trusting it
We say nothing leaves your browser and the statutory maths is right. Published source means you can check both, rather than take our word for either.
Install it where you already work
Eight supported paths. The browser tools are one self-contained HTML file, so “installing” is copying a file - there is no runtime to provision. The engine installs as a normal package.
| Platform | Type | What you do |
|---|---|---|
Static hostingRECOMMENDED | Netlify / Vercel / Pages | drag index.html into the deploy folder |
Nginx or Apache | Linux server | cp index.html /var/www/html/tools/ |
GitHub Pages | Free hosting | fork the repo, enable Pages on main |
Amazon S3 + CloudFront | Object storage | aws s3 cp index.html s3://your-bucket/ |
Windows Server / IIS | Windows | copy index.html into C:\inetpub\wwwroot\ |
Air-gapped or offline | No server at all | open index.html directly in a browser |
Composer | PHP 8.2+ · the engine | composer require crmleaf/payroll-core |
Single-file bundle | Browser JS · the engine | <script src="payroll.min.js"> |
ext-json and nothing else, or Node 18+ for the TypeScript package. That is the complete list.Every tool, grouped by what you run
Sales and billing, field operations, and Indian HR and payroll compliance. Each card links to the tool and, where published, to its repository.
Sales & Billing
4 toolsTurn work into a document your client can pay
Live on CrmLeaf today. Source repositories are being published now - each will be a single self-contained HTML file you can host anywhere.
Timesheet to Invoice
Source comingConvert logged hours into client-ready invoices with automatic rate and tax calculations.
Expenses to Invoice
Source comingBill reimbursable client expenses as itemized PDF invoices with optional markup.
Proposal Generator
Source comingCreate professional client-facing proposals combining scope, timeline and pricing.
Invoice Generator
Source comingGenerate professional invoices with tax breakdowns and branded formatting.
Operations & Field
3 toolsGet goods and orders moving, on paper
For construction, solar, manufacturing and distribution teams. Live on CrmLeaf; source publishing in progress.
Purchase Order Generator
Source comingCreate formal vendor POs with line items, quantities and delivery terms.
Sales Order Generator
Source comingGenerate customer sales confirmations with items, quantities, pricing and delivery details.
Dispatch Order Generator
Source comingCreate delivery challans and dispatch notes for goods in transit, with vehicle and item details.
HR & Payroll · statutory calculators
6 toolsIndian statutory maths, with the citation attached
Source is public today under the CrmLeaf GitHub organisation. The hosted tools currently run on INDPayroll, our sibling payroll product, which shares the same engine.
CTC Calculator
Source availableBreak down CTC into basic, HRA, PF, ESI, gratuity and net in-hand.
TDS Calculator
Source availableMonthly TDS under the new or old regime using FY 2025-26 slabs.
PF Calculator
Source availableEPF employee, employer and EPS shares with the wage ceiling applied.
ESI Calculator
Source availableESI employee and employer contributions for any wage.
Gratuity Calculator
Source availablePayment of Gratuity Act 1972 formula with the exemption cap applied.
Bonus Calculator
Source availableStatutory bonus under the Payment of Bonus Act, 8.33% to 20%.
HR & Payroll · settlement & penalty
3 toolsThe calculations that get disputed
Exit settlements and late-deposit exposure - the two places manual payroll most often goes wrong.
Leave Encashment Calculator
Source availableEncash unused earned leave at separation with the 10(10AA) exemption.
F&F Settlement Calculator
Source availableFull and final settlement: dues, gratuity, leave, notice pay and deductions.
EPFO Penalty Calculator
Source availableInterest under section 7Q and damages under 14B on delayed PF deposits.
HR & Payroll · documents, data & business case
6 toolsEverything around the calculation
Payslips, GST invoices, due dates, spreadsheet templates, and the two calculators finance teams ask for by name.
Payslip Generator
Source availableCompliance-ready payslip PDFs with your company branding.
GST Invoice Generator
Source availableGST-compliant invoices with HSN/SAC codes and tax breakdowns.
Salary Templates
Source availableEditable Excel templates: salary structure, register, slip and master.
Compliance Calendar
Source availableMonth-by-month due dates for PF, ESI, TDS, GST, PT and Form 16.
ROI Calculator
Source availableQuantify the return on moving off manual payroll.
Savings Calculator
Source availableEstimate annual savings against another payroll provider, per employee.
Skip the interface, call the engine
Every statutory calculator above is a thin wrapper over one engine. Install it directly if you are building payroll into your own product.
Indian payroll and statutory calculations in plain PHP. Dated rate tables, explicit rounding, and a citation behind every figure.
Laravel bridge for the CRMLeaf payroll engine: service provider, config, Blade components, and payslip and GST invoice PDFs rendered inside your own application.
Indian payroll calculators that show their working. Tree-shakeable ESM, a single-file UMD build for plain HTML, and zero-JavaScript embeddable web components.
Self-host in a copy, embed in one command
No database, no API key, no network call. Pure computation you can run in a unit test.
$ git clone https://github.com/CrmLeaf/<tool-name>.git $ cp <tool-name>/index.html /var/www/your-site/tools/
index.html - no server process, no database, no environment to configure, because it computes and renders its PDF entirely in the visitor's browser. Which also means it keeps working behind a firewall, and keeps working if we disappear.$ composer require crmleaf/payroll-coreuse Crmleaf\Payroll\Calculators\GratuityCalculator; use Crmleaf\Payroll\Money; $result = (new GratuityCalculator())->calculate( lastDrawnSalary: Money::fromRupees(45_000), yearsOfService: 7, monthsOfService: 8, ); $result->gratuity->format(); // '₹2,07,692.31' $result->completedYears; // 8 $result->explain(); // '(15 × 45,000.00 × 8) ÷ 26 = ₹2,07,692.31'
foreach ($result->steps() as $step) { echo $step->label, ': ', $step->formula, ' → ', $step->amount?->format(), PHP_EOL; echo ' ', $step->citation, PHP_EOL; }
$ composer require crmleaf/laravel-payrollpayroll-core engine.<!-- download the UMD bundle from the latest release --> <script src="/js/payroll.min.js"></script> <script> const result = CrmleafPayroll.ctc({ annualCtc: 1200000, state: "Karnataka" }); console.log(result.explain); </script>
@crmleaf/payroll-js is not published to the registry at the time of writing, and installing straight from git will not work either - the repository does not carry a built dist/. Until the package lands, use the single-file UMD bundle above, which needs no registry and no build step. Watch the repo for the npm release.ext-json✓ Node 18+ for the TypeScript packageThe Community Edition makes a document. The platform runs the business.
Everything above produces one document, or one number, at a time - free forever, yours to host. What it deliberately does not do is remember anything: no customer record, no pipeline, no approval chain, no audit trail. That is the commercial CrmLeaf platform, and this table is where the line falls.
| Capability | Community EditionOpen source · self-hosted or on our site | CrmLeaf platformCommercial · CRM, operations, HR & payroll |
|---|---|---|
| Licence | MIT | Commercial subscription |
| Cost | Free, forever | Paid |
| Host it yourself, rebrand it | ✓ | ✗ |
| Generate an invoice, PO or dispatch note | ✓one at a time | ✓from live records |
| Indian statutory maths - PF, ESI, TDS, PT, gratuity, FnF | ✓ | ✓ |
| Remembers your customers, vendors and staff | ✗ | ✓ |
| Document history, search and audit trail | ✗ | ✓ |
| Quote → order → invoice → payment chain | ✗ | ✓ |
| Approvals and multi-user roles | ✗ | ✓ |
| Employee master, attendance, leave | ✗ | ✓ |
| Payroll run - generate, review, update status | ✗ | ✓ |
| Statutory filing outputs - ECR, Form 5, Form 10 | ✗ | ✓ |
| Bulk salary import, Tally sync | ✗ | ✓ |
| Nothing leaves your device | ✓ | Cloud-hosted |
| Re-typing the same details every time | Every document | Never |
| Support | GitHub issues, community | CrmLeaf support |
Module availability varies by edition and plan - see pricing for what each one includes.
Three reasons people fork these
Agencies and IT teams putting tools in front of clients
Host a rebranded invoice or BOQ generator on your own domain as a free resource for your clients. One HTML file, your colours, your logo, no licence to renew and no per-user cost.
Product teams building HR or billing software
Embed the statutory engine instead of re-deriving the EPS ceiling, gratuity rounding and marginal-relief edge cases. MIT means you can ship it commercially and keep your changes private.
Teams on restricted or air-gapped networks
If your network cannot reach an external tool, host these internally instead. They compute locally with no outbound calls, so they work behind a firewall exactly as they do online.
How to get involved
Rate-table updates for a new financial year are the single most useful contribution anyone can make.
Issues
Found a calculation that disagrees with the Act, or a document field your industry needs? Open an issue with a worked example.
Pull requests
New financial-year rate tables, extra currencies, additional test vectors and framework bridges are all welcome.
Security
Report a suspected calculation error privately before disclosing publicly. Repositories carry a SECURITY.md with the process.
Discussions
A place to ask about a statutory interpretation, or request a tool, rather than report a bug.
Questions, answered
What people ask before forking a tool or embedding a compliance library. If yours isn't here, reach out.
It is the open-source part of CrmLeaf: the free business tools and the Indian payroll and statutory calculation engine underneath them, all published under the MIT licence. It is deliberately not a self-hosted copy of the CrmLeaf platform - there is no downloadable CRM or HRMS application. What you can self-host is each individual tool and the calculation engine.
Both. Every tool is free to use with no signup and no email address. Where the source is published it is MIT licensed, which means you can read it, fork it, host it yourself, restyle it, and use it commercially without payment or attribution.
Yes, that is the point of publishing them. Each browser tool is a single self-contained HTML file with no backend, so hosting it means copying one file onto your own web server. Nothing phones home and there is no licence key to expire.
Yes. MIT permits modification and redistribution, including under your own branding. Agencies and IT teams are welcome to restyle these tools and put them in front of their own clients.
Because we would rather tell you than quietly imply otherwise. The HR and payroll libraries are published today. The sales, billing and field-operations tools are live on the site and their repositories are being prepared now. A tool marked 'source coming' works fully as a tool - only its repository is pending.
INDPayroll is a sibling product in the same family, focused purely on Indian payroll and compliance. It shares the calculation engine published here under the CrmLeaf GitHub organisation. The hosted calculators currently live there; the source is common to both.
No, and we want to be precise about that. What is open source is the tools and the calculation engine underneath them. There is no self-hostable CrmLeaf CRM or HRMS application to download - that is the commercial product.
No. The browser tools do all calculation and PDF generation locally in your browser, so company details, client data, logos and amounts never leave your device. The libraries are pure computation with no network calls, no API keys and no telemetry. Publishing the source is how you can verify that rather than take our word for it.
Rates are stored as dated tables, so a calculation for a past period still returns the rate that applied then. Current tables cover FY 2025-26. Check a repository's release notes for the rate-table version in the release you install.
Open a GitHub issue with the statutory section, your inputs and the figure you expected. Every calculator's explain() output shows the formula and operands it used, and steps() exposes the citation behind each step, which usually makes a disagreement diagnosable in minutes.
crmleaf/payroll-core for PHP, crmleaf/laravel-payroll for Laravel, and @crmleaf/payroll-js for JavaScript or TypeScript. The individual calculator packages are thin wrappers over the core, useful if you only need one.
One document at a time is fine. Until it isn't.
Keep the free tools forever - host them yourself if you like. When re-typing the same customer, vendor and staff details stops being tolerable, CrmLeaf remembers all of it.
