Search by

omnipack / company

GlitchArt

The site's company for omnibase: its SIREN in the back office settings, its register identity, and the deadlines it must not miss, reminded to the administrators.

Package info

github.com/glitchr-omnisense/omnipack-company

Type:symfony-bundle

pkg:composer/omnipack/company

Statistics

Installs: 0

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v1.2.0 2026-12-02 02:16 UTC

This package is auto-updated.

Last update: 2026-12-02 03:03:22 UTC


README

The company behind an omnibase site, and the dates it must not miss: its SIREN typed once on the back office's settings page, its identity read from the public registers (with omnisense/omnistate), and its deadlines - the property tax, the general meeting, an insurance renewal - typed in the back office, shown on the dashboard and reminded to the administrators by e-mail before they come.

A Deadline has a title, a date, whether it comes back each year, notes, and the SIREN of the company it concerns where a site holds several (none: the site's own). Its next date is computed (next()), a yearly one moving year after year; "Done" marks an occurrence handled, and the reminders stop for it.

Install

composer require omnipack/company
// config/bundles.php
Base\Company\CompanyBundle::class => ['all' => true],
bin/console doctrine:migrations:diff     # the table company_deadline
bin/console doctrine:migrations:migrate
# config/packages/company.yaml (every key optional)
company:
    reminders:
        days: [30, 7, 1]     # the e-mails before each deadline
        role: ROLE_ADMIN     # who receives them
# daily: the administrators reminded of the deadlines coming
0 8 * * *  php bin/console company:deadlines:remind
// the dashboard (omnipack/admin)
yield MenuItem::block('company_deadlines', 'company_widget.deadlines', 'fa-solid fa-calendar-day')->setSize(2);
yield MenuItem::linkToCrud(\Base\Company\Entity\Deadline::class, 'Échéances', 'fa-solid fa-calendar-day');

The register identity needs omnisense/omnistate and a register of French companies (omnistate/annuaire-entreprises); without them the bundle gives the SIREN alone.

Documentation

docs/index.md: installation, the deadlines, the site's company, the reminders, the back office, the configuration, the tests.

License

MIT.