omnipack / legal
The legal professions on omnibase, one bundle and a profile for each: a lawyer's firm (the RIN's article 10 - domain name, certified specialisations, fees and their agreement, the declaration to the Ordre), a notary's office (regulated tariff and discounts, addresses in notaires.fr, the declaration
Package info
github.com/glitchr-omnisense/omnipack-legal
Type:symfony-bundle
pkg:composer/omnipack/legal
Requires
- php: ^8.2
- doctrine/doctrine-bundle: ^2.10|^3.0
- doctrine/orm: ^2.15|^3.0
- omnibridge/symfony: ^3.0
- omnisense/omnibase: ^7.0
- symfony/config: ^6.4|^7.0|^8.0
- symfony/dependency-injection: ^6.4|^7.0|^8.0
- symfony/http-kernel: ^6.4|^7.0|^8.0
- symfony/routing: ^6.4|^7.0|^8.0
- symfony/security-bundle: ^6.4|^7.0|^8.0
Requires (Dev)
- omnipack/admin: ^2.0
- omnipack/office: ^2.0
- phpunit/phpunit: ^10.5|^11.0|^12.0
Suggests
- omnipack/admin: The back office: the fields of practice, the lawyers, the settings, the memo for the Ordre, the compliance widget
- omnipack/consulting: A jurist's offerings: the profile's guard refuses one that announces what the law of 31 December 1971 reserves to a regulated profession
- omnipack/marketplace: A lawyer's fee note paid online (fees only, never clients' funds): the fees page links to it when it is installed and legal.lawyer.payment.enabled is set
- omnipack/office: Required by the lawyers' and the notaries' profiles (a practice: fields of practice, appointments, the client's space, the compliance widget); a jurist's site does without
Provides
None
Conflicts
None
Replaces
- omnibase/legal: v2.1.0
This package is auto-updated.
Last update: 2026-11-22 05:27:42 UTC
README
The legal professions on omnibase, one bundle and a
profile for each - legal.profession: lawyer | notary | jurist, one site, one profession:
| Profile | What it brings |
|---|---|
lawyer |
article 10 of the RIN: the domain name read against the firm's name (10.5), certified specialisations and three dominant fields at most (10.2), the declaration to the conseil de l'Ordre and its memo, the fees and the fee agreement (11.1, 11.2), fees paid online and nothing else (11.5) - the lawyers (Attorney), the fees page |
notary |
the règlement professionnel: addresses in notaires.fr (16.3), the declaration to the chamber (14.4), the profession's charter (14.4, 14.5), the regulated tariff and the discounts (code de commerce, L. 444-4) - the tariff page; no online payment |
jurist |
the law of 31 December 1971: nothing a regulated profession alone may do is offered - omnipack/consulting's offerings are refused when they announce legal advice or deeds drafted for others |
What a firm and an office share is written once, on omnipack/office: the fields of practice, a first appointment asked without an account, the client's space on the encrypted vault, who of the practice reads a document, the settings, and the checks every regulated practice answers in the back office's "Conformité" widget - it can be identified, it names its consumer mediator, its texts carry no comparison. Each profession says what those mean for it.
Only the chosen profile is loaded: its services, its routes, its entities and their tables. A notary's site has no table, page nor check of a lawyer's.
Compliance built into the code does not replace the control of the Ordre or of the chamber. The checks help a practice not to forget; what could not be read in an official text is listed as "to confirm" in the rules of each profession, and is not written as a rule.
Installation
composer require omnipack/legal # and omnipack/office for a lawyer or a notary
Under Symfony, enable the bundle, choose the profile and import its pages:
// config/bundles.php - a lawyer's or a notary's site Base\Office\OfficeBundle::class => ['all' => true], Base\Legal\LegalBundle::class => ['all' => true],
# config/packages/legal.yaml legal: profession: lawyer # lawyer | notary | jurist - required
# config/routes.yaml - after omnipack/office's legal: resource: . type: legal
Then the roles of docs/index.md and a migration (legal_area,
legal_area_member, a lawyer's legal_attorney). A lawyer's site serves /honoraires, a notary's
/tarifs, every profile /domaines and /mediation.
First use
The rules are plain PHP, usable before any page (a lawyer's rules read omnipack/office's wording
guard: composer require omnipack/legal omnipack/office). Article 10.5 of the RIN, the domain name
read against the firm's name:
use Base\Legal\Lawyer\Guard\DomainName; DomainName::assess('mareval-avocat.example', ['Cabinet Maréval']); // 'ok': the name, with the title DomainName::assess('avocat-divorce.example', ['Cabinet Maréval']); // 'generic': a field of law and no name
Documentation: docs/ - lawyers, notaries, jurists.
omnipack/legal replaces omnibase/lawyer and omnibase/notary (2026-10-09), which are abandoned:
docs/index.md says what changes for a site.
License: MIT.