Empower your hosting business with FOSSBilling, the free and open-source solution for efficient billing and client management.
[!NOTE] FOSSBilling is under active development and currently considered beta. Expect rough edges and limited support.
FOSSBilling is a free, open-source billing and client management system. It helps online service businesses automate invoicing, payments, and client communication. While it’s popular with web hosting providers, it also works well for software licensing, digital downloads, and subscription services.
FOSSBilling runs on standard LAMP/LEMP stacks. For the latest system requirements (PHP version, extensions, database, etc.), see the official requirements.
Install and enable PHP's ZIP extension (ext-zip) for the web server and CLI before installing or upgrading FOSSBilling.
Follow the step-by-step Getting Started guide.
Just exploring? Try the public demo.
We welcome contributions from the community! We’re actively modernizing the codebase and there’s plenty to do.
If you prefer to start a conversation first, drop by the forum or say hello on Discord.
Not a developer? Starring the repository helps others discover the project.
FOSSBilling is released under the Apache 2.0 license. See LICENSE for details.
Domain renewals can bill, extend and renew for different numbers of years
https://github.com/FOSSBilling/FOSSBilling/issues/4772
Labels: 없음
[Bug] Payment gateway is required when marking an invoice as paid. (9999)
https://github.com/FOSSBilling/FOSSBilling/issues/4718
Labels: bug
[Feature Request] Gate renewal invoice generation with configurable send time (prevent 'Invoice Created' emails at 00:00 midnight)
https://github.com/FOSSBilling/FOSSBilling/issues/4714
Labels: 없음
[Bug] JSON preflight error
https://github.com/FOSSBilling/FOSSBilling/issues/4680
Labels: bug
:+1::tada: First off, thanks for expressing an interest in contributing to FOSSBilling! :tada::+1:
Whether open-source projects live or die completely depends on community participation and involvement. This one is no exception, so we appreciate and welcome every contribution.
The document is a set of guidelines for contributing to FOSSBilling code and documentation, which are hosted in the FOSSBilling Organization on GitHub. These are strong guidelines but not set in stone rules. Please use your best judgement, feel free to propose changes to this document in a pull request, and don't be afraid to ask questions.
We've tried to keep this document as short as possible but there is a lot of information to get through. If you are looking for something specific then you can use the table of contents to skip to that section:
Why should I contribute to FOSSBilling?
In one simple sentence, every contribution means not just that you give something back to the community but also that you get to use and enjoy better software.
If you need more reasons than that though, then because...
First off, no matter how you plan to take part, please take a couple of minutes to read our code of conduct before contributing anything.
This project and everyone participating in it are governed by the FOSSBilling Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to the moderators on our Discord server.
FOSSBilling is an open-source project — it's made up of over 50 modules. When you initially consider contributing to FOSSBilling, you might be unsure about which of those 50 modules implements the functionality you want to change or report a bug for. This section should help you with that.
There are 2 types of modules:
Think of Service modules as products that you want to sell. These modules have actions related to product configuration. Let's say the Servicedownloadable module allows you to sell downloadable products such as e-books, images, photos, and documents. The module keeps track of the number of downloads, and how many downloads were made.
If you need to sell a new type of product you will implement a Service type module.
Other modules extend the whole FOSSBilling API with any functionality needed. Check existing modules to get an idea of what is already shipped with the default structure of FOSSBilling.
FOSSBilling modules use typed events for extension points. Event classes extend FOSSBilling\Core\Events\Event, and each module keeps its event classes in src/modules/<Module>/Event/. The shared base event is in src/core/Events/Event.php.
Define an event in the owning module's Event/ directory and dispatch it from the code that owns the operation:
namespace Box\Mod\Example\Event;
use FOSSBilling\Core\Events\Event;
final class BeforeExampleOperationEvent extends Event
{
public function __construct(public readonly int $entityId)
{
}
}
use Box\Mod\Example\Event\BeforeExampleOperationEvent;
$this->di['event_dispatcher']->dispatch(new BeforeExampleOperationEvent($entityId));
A module can listen from a public instance method on its Service class. Add Symfony's #[AsEventListener] attribute and type the first parameter as the event class. Listeners on active modules are registered when the dispatcher initializes.
use Box\Mod\Support\Event\AfterTicketOpenedEvent;
use Symfony\Component\EventDispatcher\Attribute\AsEventListener;
#[AsEventListener(priority: 10)]
public function notifyTicketOpened(AfterTicketOpenedEvent $event): void
{
// Handle the opened ticket using the event's documented data.
}
Higher priority listeners run first. Event propagation follows Symfony's event behavior, including stopPropagation(). Listeners run synchronously as part of dispatch.
Treat each event class as the contract for its extension point. Prefer readonly constructor properties for context listeners may inspect. Keep mutable data private and expose only the getters and setters listeners are meant to use. Do not include credentials or unrelated request data in an event payload. Name event classes for the operation and timing, such as Before...Event or After...Event.