Download the PHP package inwebo/open-resume-bundle without Composer
On this page you can find all versions of the php package inwebo/open-resume-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package open-resume-bundle
Open Resume Bundle for Symfony
An installable Symfony bundle providing Doctrine ORM mapped superclasses and models for the Open Resume domain (basics, profiles, work, volunteer, education, skills, etc.). Use it as a foundation to model resume data in your Symfony application, extending the provided base entities and wiring them into Doctrine.
This repository is a reusable library (not a standalone app).
Key features
- Doctrine ORM mapped superclasses for common resume entities
- Symfony Validator integration (interfaces/types geared for validation)
- Symfony bundle that prepends Doctrine mapping for the package entities
Stack and requirements
- Language: PHP 8.2+
- Framework: Symfony (bundle components; tested with Symfony 7 components)
- Persistence: Doctrine ORM 3.5+ with doctrine/doctrine-bundle (v2 or v3)
- Validation: symfony/validator ^7.3
See composer.json for authoritative constraints.
Installation (in a Symfony application)
1) Require the bundle via Composer:
2) Define your concrete entity classes by extending the mapped superclasses from this bundle (e.g., Inwebo\OpenResumeBundle\Entity\Basics). Example:
3) Configure the bundle to point to your concrete classes. The bundle defines a configuration section with an entities map. Provide fully qualified class names for each key you use. Example config/packages/inwebo_open_resume.yaml:
Notes:
- No defaults are provided by the bundle; you should create concrete entities (extending the provided mapped superclasses) and wire them here.
- Doctrine mapping for this bundle’s
src/Entitydirectory is pre-registered automatically by the bundle; when you create your own concrete entities in your app namespace, ensure those are mapped as regular Doctrine entities.
4) Run your usual Doctrine workflows in the host app:
Usage overview
- Extend the mapped superclasses in
Inwebo\OpenResumeBundle\Entityto implement concreteApp\Entity\...classes. - Use the interfaces from
inwebo/open-resume-model(a dependency) to program against contracts. - Access relationships like
Basics -> profiles,Basics -> work, etc., as exposed by the base classes.
For specific properties and methods, inspect the entities in src/Entity. Example files:
src/Entity/Basics.phpsrc/Entity/Profile.phpsrc/Entity/Work.phpsrc/Entity/Volunteer.php
Configuration reference
The bundle exposes the following config root with an entities section inside:
All listed keys are supported; each value must be a non-empty string (your concrete entity’s FQCN).
Development (this repository)
Clone and install dev dependencies:
Available Composer scripts:
composer run php-cs-fixer— run PHP-CS-Fixer onsrc/with risky rules enabledcomposer run php-stan— run PHPStan (config:phpstan.neon)
Scripts
Defined in composer.json:
Run them with:
Environment variables
This bundle itself does not require specific environment variables. It relies on the host Symfony application’s standard configuration (e.g., database connection via DATABASE_URL for Doctrine).
TODO:
- Document any bundle-specific env toggles if/when added in future versions.
Tests
There are no tests in this repository at the moment.
TODO:
- Add unit tests and/or integration tests for entity contracts and configuration.
Project structure
Relevant files and directories:
src/— bundle codeInweboOpenResumeBundle.php— bundle class; config definition and Doctrine mapping prependEntity/— Doctrine mapped superclasses (e.g.,Basics,Profile,Work,Volunteer, ...)Model/— shared model traits (e.g.,HasBasicTrait)
composer.json— package metadata, constraints, and scriptsphpstan.neon— static analysis configurationLICENSE— GPL-3.0-or-laterCHANGELOG.md— change historyREADME.md— this file
License
GPL-3.0-or-later. See the LICENSE file for details.
All versions of open-resume-bundle with dependencies
php Version ^8.2
inwebo/open-resume-model Version ^1.0
doctrine/orm Version ^3.5
symfony/validator Version *