Commit ef4b9b66 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Composer, README, tout ça...

parent 36f186e1
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+24 −0
Original line number Diff line number Diff line
image: registre.unicaen.fr:5000/unicaen-dev-php7.3-apache

stages:
- publish
- tests

cache:
  key: ${CI_COMMIT_REF_SLUG}
  paths:
  - vendor/

#unit-tests:
#  stage: tests
#  script:
#    - composer install --no-interaction --no-suggest --no-progress
#    - php vendor/bin/phpunit --coverage-text=coverage.txt --colors=never
#  artifacts:
#    paths:
#      - coverage.txt

update-satis:
  stage: publish
  script:
    - curl https://gest.unicaen.fr/packagist/update

CHANGELOG.md

0 → 100644
+5 −0
Original line number Diff line number Diff line
CHANGELOG
=========

1.0.0
-----

README.md

0 → 100644
+6 −0
Original line number Diff line number Diff line
# unicaen/dbfakator

Ce module permet d'anonymiser et de restaurer la base de données d'une appli, selon ce qui est spécifié 
dans un fichier de configuration.

Ce module utilise le module Faker : https://github.com/FakerPHP/Faker.

composer.json

0 → 100644
+22 −0
Original line number Diff line number Diff line
{
    "name": "unicaen/dbfakator",
    "description": "Module pour anonymiser une base de données",
    "require": {
        "php": ">=7.3",
        "unicaen/app": "^4.0",
        "webmozart/assert": "^1.3",
        "fakerphp/faker": "^1.18"
    },
    "require-dev": {
        "laminas/laminas-test": "^3.2",
        "phpunit/phpunit": "^5.6"
    },
    "autoload": {
        "psr-0": {
            "UnicaenDbfakator": "src/"
        },
        "classmap": [
            "./Module.php"
        ]
    }
}