GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cPFence/clientfence: ClientFence: Secure, open-source billing for hosting & service providers. 100% free. Self-hosted. Your infrastructure, your rules.

BranchesTags
Open more actions menu

Latest commit

 

History

938 Commits
938 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
branding
branding
 
 
data
data
 
 
dev
dev
 
 
frontend
frontend
 
 
src
src
 
 
tests
tests
 
 
tools
tools
 
 
translations
translations
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
cspell.json
cspell.json
 
 
cypress.config.js
cypress.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
phpstan-baseline-clientfence.neon
phpstan-baseline-clientfence.neon
 
 
phpstan-baseline.neon
phpstan-baseline.neon
 
 
phpstan.neon
phpstan.neon
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 
rector.php
rector.php
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

ClientFence by cPFence is open source: free billing and client portal for hosting businesses

The open-source billing platform built for hosting providers. 100% free. Open source. Your infrastructure, your rules.

ClientFence is a billing and client management system for hosting businesses: invoices, payments, orders, domains, hosting accounts and support tickets in one client area.

  • Download: the latest release from GitHub Releases (the zip and its SHA-256).
  • Documentation: clientfence.com/docs, from installing to moving from WHMCS, Upmind, Blesta or ClientExec.
  • Demo: demo.clientfence.com (changes are not saved).
  • Community: ClientFence forum, for setup help and usage questions.

Features

  • Client area with the Palisade theme, and an admin area with a sidebar menu, Ctrl+K search and a dashboard. Both come in light and dark, left to right and right to left (Arabic, Hebrew and Persian), in 30 languages.
  • Accounts: authorized users with their own permissions, two-factor sign-in and Google sign-in; staff groups with detailed permissions and sign-in security rules.
  • Billing: invoices with part payments, credit and part refunds, quotes, an optional "prices include tax" mode, EU VAT reverse charge, payment receipts, payment method fees, order form answers and cancellation requests. Payments through Stripe (cards and Direct Debit), PayPal, PayPal Auto-Pay, PayTabs, eWAY and manual gateways, with saved cards that pay invoices on the due date. An accounting sync sends approved invoices with their clients, payments and refunds to Xero, FreeAgent or QuickBooks Online.
  • Hosting and domains: an Enhance server manager with client pages for each hosting account (including Enhance backups) and a daily status check; server managers for cPanel/WHM, Plesk, DirectAdmin, CWP and HestiaCP; Change Product; 18 domain registrars (including Enom, NameSilo, Namecheap, OpenSRS, CentralNic Reseller, OVHcloud, Openprovider and Nominet) with TLD price sync.
  • Software licences: licence keys with client IP limits, per-unit billing and checks compatible with the WHMCS Licensing Addon.
  • Support: tickets with file attachments, email-to-ticket, ticket merge, a network status page, and ticket secrets: server logins a client adds to a ticket, stored encrypted and opened only by staff with that permission.
  • Moving from WHMCS, Upmind, Blesta or ClientExec: an import of clients, products, services, domains, invoices, payments and tickets from a WHMCS, Blesta or ClientExec database, or from Upmind through its API.
  • Security and health: security hardening and a system health page, built in.
  • Updates: a daily check of the ClientFence release list on clientfence.com (it sends nothing about your site, and System → Update turns it off), a dashboard notice and a staff email for a new release, and an Update button that backs up, installs and finalizes it. Nothing else calls home: no telemetry, extension directory or error reports.

Requirements

  • PHP 8.3, 8.4 or 8.5 (64-bit), with the curl, dom, gd, iconv, intl, json, openssl, pdo_mysql, xml and zlib extensions. mbstring and OPcache are recommended.
  • MySQL or MariaDB.
  • Apache, LiteSpeed or OpenLiteSpeed, which read the .htaccess file, or Nginx with its server block.
  • Cron, to run the scheduled tasks every five minutes.

Building a release

Build the release with Docker from the repository root:

docker buildx build --target release-artifact --output type=local,dest=build/release .

build/release then holds the files to upload.

Installing

  1. Create a MySQL or MariaDB database and a user for it.

  2. Upload the release files to the document root of a domain or subdomain (not a subfolder). Include .htaccess: some upload tools skip files whose name starts with a dot.

  3. Open https://your-domain/install/ and follow the installer.

  4. Do the final steps the installer shows: remove the install folder if it is still there, make config.php read-only and add the cron line, for example:

    */5 * * * * php /path/to/clientfence/cron.php
    

Upgrading

From the admin area: System → Update shows the new release and its notes; Update ClientFence saves a backup of the database and the files it replaces (in .clientfence-backups/<site folder name> next to the site folder), installs the release, updates the database and signs you out. The site reopens on its own once the update is complete; only if the database update needs attention does the admin area ask you to finalize it after signing in again. If the release cannot be unpacked, the previous files are put back and the site keeps running the version it ran before.

From the server, the same update as the site's user (never as root):

php console.php system:update --check   # installed and latest version; exit code 1 when an update is available
php console.php system:update           # shows the release notes and asks first; --yes for scripts, --beta for the beta channel

By hand:

  1. Back up the database and the files (config.php and the data folder above all).

  2. Upload the new release files over the old ones. Keep config.php and data.

  3. Sign in to the admin area at once: it opens Finalize update, which applies the database updates; from then until you finish, visitors see a maintenance page. Or run the updates from the command line:

    php console.php system:run-patcher

System → Settings → System, System Health tab, shows "Database updates" pending until they are applied.

Support ClientFence

❤️ Donate to keep ClientFence free and thriving.

ClientFence is free and open source, and it stays that way: every feature, security fix and release is for everyone. Donations pay for its development, security work, new integrations and maintenance. See clientfence.com/sponsor.

Development

CONTRIBUTING.md describes how to send changes. Report security issues as described in SECURITY.md.

License

ClientFence is released under the Apache 2.0 license. It is based on FOSSBilling; see LICENSE and NOTICE.

About

ClientFence: Secure, open-source billing for hosting & service providers. 100% free. Self-hosted. Your infrastructure, your rules.

clientfence.com/

Topics

billing-softwarebilling-software-open-sourceclient-managementclient-portalenhance-control-panelhosting-automationhosting-billinghosting-billing-automationinvoicingself-hostedwhmcs-alternative

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

18 stars

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.