Skip to content

undabot/json-api-core

Repository files navigation

json-api core

pipeline status coverage report

"repositories": [
    {
      "type": "vcs",
      "url": "[email protected]:undabot/json-api-core.git"
    }
  ],

Scripts

  • PHPUnit tests: composer test
  • PhpStan: composer qc
  • PhpCsFixer: composer lint

Development

There is a custom docker image that can be used for development. This docker container should be used to run tests and check for any compatibility issues.

This repo is mounted inside of the container and any changes made to the files are automatically propagated into the container. There isnt any syncing, the filesystem is pointed to the 2 locations at the same time.

A script called dev.sh can be used to manage the image. Here are the avaliable commands:

  • ./dev.sh build

    used to build base dev docker image, and to install composer and dependencies at first run
    
  • ./dev.sh run

    starts the dev container
    
  • ./dev.sh stop

    stops the dev container
    
  • ./dev.sh ssh

    attaches the container shell to the terminal so that you can execute commands inside of the container
    
  • ./dev.sh test

    run php unit tests inside of the running container
    
  • ./dev.sh qc

    executes qc tests
    
  • ./dev.sh install executes composer install --optimize-autoloader

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •