Hubleto ERP
Hubleto ERP is a modular, open-source ERP built on the Hubleto Framework. The ERP itself is a small core (hubleto/erp) plus apps: self-contained packages such as Customers, Contacts, Deals, Invoices, Projects or Orders. Almost everything you see in the ERP is an app, and everything you add to it is an app too.
This chapter is the developer's documentation of the ERP. It is written from the source code of hubleto/erp, hubleto/framework and hubleto/react-ui. Every code sample comes from the community apps or is a simplified version of them.
Where to start
| You want to… | Read |
|---|---|
| Create your first app | Apps → The shortest way to your first app |
| Create a complete app that follows all conventions | App creation checklist |
| Understand how a request travels through the ERP | Core |
| Know the naming and coding rules | Conventions |
| Translate Hubleto or your app | Localization |
| Change the core classes, UI or data layer | Advanced development |
| Let an AI assistant generate an app | AI-assisted coding |
The code base in four packages
| Package | Namespace / folder | Contains |
|---|---|---|
hubleto/framework |
Hubleto\Framework |
MVC base classes, router, dependency injection, database models, permissions, events, crons. |
hubleto/erp |
Hubleto\Erp, Hubleto\App\Community\* |
The ERP core (src/), the command-line tool (cli/), the installer and the community apps (apps/). |
hubleto/react-ui |
@hubleto/react-ui |
React components: Table, Form, inputs, modal, FormCustomizer, Loader, translator. |
hubleto/custom (erp-project) |
HubletoProject, Hubleto\App\Custom |
A skeleton of your project: configuration, build files and the folders for custom apps, crons and event listeners. |
Packages of Hubleto ERP.
The relationship is a simple extension chain: Hubleto\Framework\Model → Hubleto\Erp\Model → your model. The same holds for Controller, RecordManager, App (the Loader of an app), Cron and Calendar. That is why the documentation always names the class you extend.
