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(6y 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 2mo 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 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity46

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

2543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf4e12cb660f15f38ac4b8350b69c4b0269ecd105e194397d645de231d3207d9?d=identicon)[LucWollants](/maintainers/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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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