From: Raphaƫl Gertz Date: Mon, 3 Oct 2022 03:46:36 +0000 (+0200) Subject: Add contribute X-Git-Tag: 0.2.1 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/672b4fcfd63c56a8804765103d17e2bf271af746?ds=sidebyside;hp=74958d6d980f6d9779869a34d2f99c6b0716d086 Add contribute Update composer configuration Cleanup --- diff --git a/README.md b/README.md index 7867c59..dce4af7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ +Contribute +========== + +You may buy me a Beer, a Tea or help with Server fees with a paypal donation to +the address . + +Don't forget to show your love for this project, feel free to report bugs to +the author, issues which are security relevant should be disclosed privately +first. + +Patches are welcomed and grant credit when requested. + Installation ============ @@ -8,36 +20,36 @@ Add bundle custom repository to your project's `composer.json` file: ```json { - ..., - "repositories": [ - { - "type": "package", - "package": { - "name": "rapsys/userbundle", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://git.rapsys.eu/userbundle", - "reference": "master" - }, - "autoload": { - "psr-4": { - "Rapsys\\UserBundle\\": "" - } - }, - "require": { - "doctrine/doctrine-bundle": "^1.12", - "rapsys/packbundle": "dev-master", - "symfony/flex": "^1.5", - "symfony/form": "^4.4", - "symfony/framework-bundle": "^4.4", - "symfony/security-bundle": "^4.4", - "symfony/validator": "^4.4" - } - } - } - ], - ... + ..., + "repositories": [ + { + "type": "package", + "package": { + "name": "rapsys/userbundle", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://git.rapsys.eu/userbundle", + "reference": "master" + }, + "autoload": { + "psr-4": { + "Rapsys\\UserBundle\\": "" + } + }, + "require": { + "doctrine/doctrine-bundle": "^1.0|^2.0", + "rapsys/packbundle": "dev-master", + "symfony/flex": "^1.0", + "symfony/form": "^4.0|^5.0", + "symfony/framework-bundle": "^4.0|^5.0", + "symfony/security-bundle": "^4.0|^5.0", + "symfony/validator": "^4.0|^5.0" + } + } + } + ], + ... } ``` @@ -75,17 +87,17 @@ in the `app/AppKernel.php` file of your project: // ... class AppKernel extends Kernel { - public function registerBundles() - { - $bundles = array( - // ... - new Rapsys\UserBundle\RapsysUserBundle(), - ); + public function registerBundles() + { + $bundles = array( + // ... + new Rapsys\UserBundle\RapsysUserBundle(), + ); - // ... - } + // ... + } - // ... + // ... } ```