Developed with love by KnpLabs Hire us for your project!
31

CurriculumVitaeBundle

by fabiencrassat

A Symfony2 bundle that you can use to display your curriculum vitae.

Fabien Crassat / Curriculumvitae Bundle

Welcome to the Curriculumvitae bundle - an experimental CV display
with Symfony2 application that you can use to display your curriculum vitae.

knpbundles.com SensioLabsInsight

Build Status Latest Stable Version Latest Unstable Version License Total Downloads Scrutinizer Code Quality Code Coverage Codacy Badge
Code Climate Sonar Quality Gate Sonar Maintainability

Prerequisites

This version of the bundle requires Symfony 2.4.1+.

Translations

If you wish to use default texts provided in this bundle, you have to make
sure you have translator enabled in your config.

# app/config/config.yml

framework:
    translator: ~

For more information about translations, check Symfony documentation.

Installation

  1. Install Curriculumvitae Bundle
  2. Enable the bundle
  3. Import the routing file

Step 1: Install Curriculumvitae Bundle

Add the following dependency to your composer.json file:
json
{
"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

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new FabienCrassat\CurriculumVitaeBundle\FabienCrassatCurriculumVitaeBundle(),
    );
}
// ...
?>

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:

# app/config/routing.yml
fabiencrassat_curriculumvitae:
    resource: "@FabienCrassatCurriculumVitaeBundle/Resources/config/routing.yml"
    prefix:   /cv

Or if you prefer XML:

<!-- app/config/routing.xml -->
<import resource="@FabienCrassatCurriculumVitaeBundle/Resources/config/routing.xml" prefix="/cv" />

Usage

Assets installation

$ php app/console assets:install

View the result

Go to your site and add /cv, for example: http://localhost/app_dev.php/cv

Documentation

The bulk of the documentation is stored in the Resources/doc/ directory in this bundle:

MIT License

Copyright (c) 2017 Fabien Crassat

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
fabien_crassat_curriculum_vitae:

# Defines the path where the bundle grabs the curriculum vitae xml files
path_to_cv: ~ # Example: %kernel.root_dir%\..\src\Acme\HelloBundle\Resources\CV

# It is the default curriculum vitae xml file called without route
custo_default_cv: ~ # Example: mycv

# It is the default curriculum vitae language
default_lang: ~ # Example: en

# Defines your own twig template for your curriculum vitae
template: ~ # Example: AcmeHelloBundle:CV:index.html.twig
  • Fix duplicate literal words
    By fabiencrassat, 10 months ago
  • Fix major and minor sonar code smell bugs
    By fabiencrassat, 10 months ago
  • Add version for Sonar from Travis CI
    By fabiencrassat, 10 months ago
  • Add Sonar badges + exclude unit test files from coverage
    By fabiencrassat, 10 months ago
  • Fix sonar test files
    By fabiencrassat, 10 months ago
  • Exclude unit test files for Sonar
    By fabiencrassat, 10 months ago
  • Fix sonar in the test files flag too
    By fabiencrassat, 10 months ago
  • Update Travis CI to have only one test files job
    By fabiencrassat, 10 months ago
  • Exclude fixtures app cache
    By fabiencrassat, 10 months ago
  • Add clover coverage and junit test results
    By fabiencrassat, 10 months ago
  • Reverse script phpunit
    By web-flow, 10 months ago
  • Exclude vendor folders
    By web-flow, 10 months ago
  • Add sonar in Travis CI
    By web-flow, 10 months ago
  • Fix sonar script
    By fabiencrassat, 10 months ago
  • Fix sonar properties
    By fabiencrassat, 10 months ago
  • Add sonar in travis CI
    By fabiencrassat, 10 months ago
  • Create CODE_OF_CONDUCT.md
    By web-flow, 1 year ago
  • Create LICENSE
    By web-flow, 1 year ago
  • Using height with border-top + don't use IDs in selectors.
    By fabiencrassat, 1 year ago
  • Fix scrutinizer inspection
    By fabiencrassat, 1 year ago
  • Enhance code style
    By fabiencrassat, 1 year ago
  • Enhance code style
    By fabiencrassat, 1 year ago
  • Merge pull request #16 from fabiencrassat/php7build
    By web-flow, 1 year ago
  • Making the return type a bit more specific
    By fabiencrassat, 1 year ago
  • Continue documentation + revue one assert
    By fabiencrassat, 1 year ago
  • trying null|array return
    By fabiencrassat, 1 year ago
  • Add return if null
    By fabiencrassat, 1 year ago
  • Add documentations
    By fabiencrassat, 1 year ago
  • Use empty to compare variables
    By fabiencrassat, 1 year ago
  • Minor fix from Scrutinizer
    By fabiencrassat, 1 year ago