fabiencrassat / curriculumvitae
Symfony CV bundle
Installs: 200
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 4
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: ^7.1.3
- symfony/asset: ^4.1
- symfony/browser-kit: ^4.1
- symfony/console: ^4.1
- symfony/css-selector: ^4.1
- symfony/dotenv: ^4.1
- symfony/framework-bundle: ^4.1
- symfony/serializer: ^4.1
- symfony/stopwatch: ^4.1
- symfony/twig-bundle: ^4.1
- symfony/yaml: ^4.1
Requires (Dev)
- phpunit/phpunit: ^7.3
- symfony/phpunit-bridge: ^4.1
Conflicts
README
Welcome to the Curriculumvitae bundle - an experimental CV display with Symfony application that you can use to display your curriculum vitae.
Prerequisites
This version of the bundle requires Symfony 4.1+.
Installation
- Install Curriculumvitae Bundle
- Enable the bundle
- Import the routing file
Step 1: Install Curriculumvitae Bundle
Add the following dependency to your composer.json file:
{ "require": { "_some_packages": "...", "fabiencrassat/curriculumvitae": "dev-master" } }
Now tell composer to download the bundle by running the command:
php composer.phar update fabiencrassat/curriculumvitae
Composer will install the bundle to your project's vendor/fabiencrassat
directory.
Step 2: Enable the bundle without flex
In a default Symfony application that uses Symfony Flex, bundles are enabled/disabled automatically for you when installing/removing them, so you don't need to look at or edit this bundles.php file.
Enable the bundle in the kernel:
<?php // config/bundles.php return [ // ... FabienCrassat\CurriculumVitaeBundle\FabienCrassatCurriculumVitaeBundle::class => ['all' => true], ]; // ...
Step 3: Import FabienCrassat CurriculumVitae Bundle routing
Finally, now that you have activated and configured the bundle, all that is left to do is import the routing file.
In YAML:
# config/routes.yml fabiencrassat_curriculumvitae: resource: "@FabienCrassatCurriculumVitaeBundle/Resources/config/routing.yml" prefix: /cv
Or if you prefer XML:
<!-- config/routes.xml --> <import resource="@FabienCrassatCurriculumVitaeBundle/Resources/config/routing.xml" prefix="/cv" />
Usage
Assets installation
php bin/console assets:install
View the result
Go to your site and add /cv, for example: http://localhost:8000/cv
[TO_CHECK] Documentation
The bulk of the documentation is stored in the Resources/doc/
directory in this bundle:
- Expose your custom Curriculum Vitae Files
- Custom your curriculum vitae
- Understand the link beetween xml file and twig variables
- Make the curriculum vitae beautiful with OrizoneBoilerplate
- Add Google Analytics in the OrizoneBoilerplate
- [TO_CHECK] Add an export PDF service
- [TO_CHECK] Protect your email and phone number