omnipack / company
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
Requires
- php: ^8.2
- omnibridge/symfony: ^3.1
- omnipack/admin: ^2.2
- omnisense/omnibase: ^7.1
- symfony/cache-contracts: ^3.0
- symfony/config: ^7.0|^8.0
- symfony/console: ^7.0|^8.0
- symfony/dependency-injection: ^7.0|^8.0
- symfony/form: ^7.0|^8.0
- symfony/http-kernel: ^7.0|^8.0
- symfony/mailer: ^7.0|^8.0
- symfony/security-bundle: ^7.0|^8.0
- symfony/validator: ^7.0|^8.0
Requires (Dev)
- doctrine/doctrine-bundle: ^2.10|^3.0
- doctrine/orm: ^2.15|^3.0
- omnibridge/doctrine: ^4.0
- omnisense/omnistate: ^1.0.1
- phpunit/phpunit: ^11.0|^12.0
- symfony/framework-bundle: ^7.0|^8.0
- symfony/twig-bundle: ^7.0|^8.0
- twig/twig: ^3.0
Suggests
- omnibridge/doctrine: The persistence on Doctrine's ORM (base.persistence: doctrine): the bundle reads and writes through it
- omnibridge/eloquent: The persistence on Illuminate's database (base.persistence: eloquent): the bundle reads and writes through it
- omnisense/omnistate: The company's register identity read from its SIREN - legal name, form, head office, creation date (with omnistate/annuaire-entreprises); from 1.1, its legal and tax obligations (with an obligation register); without it the SIREN alone
- omnistate/france: A French company's legal and tax obligations (SCI, SARL, EURL, SAS, SASU) computed from its profile and written as deadlines (with omnisense/omnistate 1.1); from omnisense/omnistate 1.2, « Vérifier sur impots.gouv »: the deadlines the company's online tax account shows filed or paid marked done
Provides
None
Conflicts
None
Replaces
None
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.