PHPackages                             vsv-verkeerskunde/gvq-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. vsv-verkeerskunde/gvq-api

ActiveProject[API Development](/categories/api)

vsv-verkeerskunde/gvq-api
=========================

API for GVQ

2018.x-dev(7y ago)00[3 PRs](https://github.com/VSVverkeerskunde/gvq-api/pulls)Apache-2.0PHPPHP ^7.2.4

Since Nov 2Pushed 4y ago2 watchersCompare

[ Source](https://github.com/VSVverkeerskunde/gvq-api)[ Packagist](https://packagist.org/packages/vsv-verkeerskunde/gvq-api)[ RSS](/packages/vsv-verkeerskunde-gvq-api/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (32)Versions (7)Used By (0)

[![Build Status](https://camo.githubusercontent.com/f297a56a5fc86b208927a872b96fcd513954f670e4d2b7cd3aa523ffe574b804/68747470733a2f2f7472617669732d63692e6f72672f5653567665726b656572736b756e64652f6776712d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/VSVverkeerskunde/gvq-api)[![Coverage Status](https://camo.githubusercontent.com/fdc113850d912676245786184c43a44ed5890dcf3cda8489369a3068c93d1b14/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f5653567665726b656572736b756e64652f6776712d6170692f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/VSVverkeerskunde/gvq-api?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/368af4a14c6a918a245b814bf136be3907a381021b4c5bdfd380e9535d2bfa08/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5653567665726b656572736b756e64652f6776712d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/VSVverkeerskunde/gvq-api/?branch=master)[![Maintainability](https://camo.githubusercontent.com/8ca02859bc394b36941205b7d14c89874d203ea69793ac28eb3e10b3b8d72898/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39396439306231356166663861353365353431382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/VSVverkeerskunde/gvq-api/maintainability)

Seeding
-------

[](#seeding)

### Initial setup

[](#initial-setup)

Create a new database with settings taken from `.env` file:

`$ ./bin/console doctrine:database:create`

Create the tables inside this database with:

`$ ./bin/console doctrine:schema:create`

### Seeding categories

[](#seeding-categories)

Adding all fixed categories can be done with the following custom command:

`$ ./bin/console gvq:seed-categories`

With the optional file argument it is possible to specify an arbitrary file with categories.

### Seeding users

[](#seeding-users)

Rename the included `fixed_users.yaml.dist` file to `fixed_users.yaml` or create your own data file. Adding all fixed users can be done with the following custom command:

`$ ./bin/console gvq:seed-users`

With the optional file argument it is possible to specify an arbitrary file with users.

Docker
------

[](#docker)

### Basics

[](#basics)

Edit the your host file and add the following:

```
127.0.0.1	gvq-api.test
127.0.0.1	mailhog.gvq-api.test
127.0.0.1	mysql.gvq-api.test
127.0.0.1	redis.gvq-api.test

```

Install sources by running:

```
$ composer install

```

Start docker by running:

```
$ docker-compose up -d

```

Connect to api on:

Connect to mailhog on:

Connect to MySQL on: mysql.gvq-api.test:33066

### Database

[](#database)

Create the schema with (make sure to have correct `DATABASE_URL` string inside `.env`):

```
$ docker-compose exec web bash -c "./bin/console doctrine:schema:create"

```

Example of `DATABASE_URL` with values inside `.env`:

```
DATABASE_URL=mysql://$DB_USER:$DB_PASSWORD@$DB_HOST:3306/$DB_NAME

```

Seeding categories (by default taken from categories.yaml)

```
$ docker-compose exec web bash -c "./bin/console gvq:seed-categories"

```

Seeding users (make sure to provide an input file)

```
$ docker-compose exec web bash -c "./bin/console gvq:seed-users"

```

### Image upload

[](#image-upload)

If you want to use s3 as upload location, then change inside `env`:

```
UPLOAD_TARGET=remote
UPLOAD_PATH=*url_to_s3_bucket*

```

Example:

```
UPLOAD_TARGET=remote
UPLOAD_PATH=https://s3-eu-west-1.amazonaws.com/verkeersquiz-test/

```

and fill in the necessary credential and bucket details.

To use the local filesystem, leave the default values unchanged:

```
UPLOAD_TARGET=local
UPLOAD_PATH=/uploads/

```

### Altering styling / CSS

[](#altering-styling--css)

See the documentation in assets/README.md.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2592d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1322949?v=4)[Luc Wollants](/maintainers/LucWollants)[@lucwollants](https://github.com/lucwollants)

---

Top Contributors

[![stejes](https://avatars.githubusercontent.com/u/23375167?v=4)](https://github.com/stejes "stejes (487 commits)")[![cyberwolf](https://avatars.githubusercontent.com/u/95102?v=4)](https://github.com/cyberwolf "cyberwolf (241 commits)")[![bramcordie](https://avatars.githubusercontent.com/u/1107185?v=4)](https://github.com/bramcordie "bramcordie (23 commits)")[![WRobberechts](https://avatars.githubusercontent.com/u/38687055?v=4)](https://github.com/WRobberechts "WRobberechts (4 commits)")[![julie2dots](https://avatars.githubusercontent.com/u/11396708?v=4)](https://github.com/julie2dots "julie2dots (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vsv-verkeerskunde-gvq-api/health.svg)

```
[![Health](https://phpackages.com/badges/vsv-verkeerskunde-gvq-api/health.svg)](https://phpackages.com/packages/vsv-verkeerskunde-gvq-api)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M380](/packages/easycorp-easyadmin-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M723](/packages/sylius-sylius)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k59](/packages/open-dxp-opendxp)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M545](/packages/shopware-core)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
