# ivuorinen/actions/php-laravel-phpunit ## Laravel Setup and Composer test ### Description Setup PHP, install dependencies, generate key, create database and run composer test ### Inputs | name | description | required | default | |--------------------|-----------------------------------------------------------------------------------------------------------------------|----------|---------------------------------------------| | `php-version` |

PHP Version to use, see https://github.com/marketplace/actions/setup-php-action#php-version-optional

| `false` | `latest` | | `php-version-file` |

PHP Version file to use, see https://github.com/marketplace/actions/setup-php-action#php-version-file-optional

| `false` | `.php-version` | | `extensions` |

PHP extensions to install, see https://github.com/marketplace/actions/setup-php-action#extensions-optional

| `false` | `mbstring, intl, json, pdo_sqlite, sqlite3` | | `coverage` |

Specify code-coverage driver, see https://github.com/marketplace/actions/setup-php-action#coverage-optional

| `false` | `none` | | `token` |

GitHub token for authentication

| `false` | `""` | ### Outputs | name | description | |--------------------|------------------------------------------------| | `php-version` |

The PHP version that was setup

| | `php-version-file` |

The PHP version file that was used

| | `extensions` |

The PHP extensions that were installed

| | `coverage` |

The code-coverage driver that was setup

| ### Runs This action is a `composite` action. ### Usage ```yaml - uses: ivuorinen/actions/php-laravel-phpunit@main with: php-version: # PHP Version to use, see https://github.com/marketplace/actions/setup-php-action#php-version-optional # # Required: false # Default: latest php-version-file: # PHP Version file to use, see https://github.com/marketplace/actions/setup-php-action#php-version-file-optional # # Required: false # Default: .php-version extensions: # PHP extensions to install, see https://github.com/marketplace/actions/setup-php-action#extensions-optional # # Required: false # Default: mbstring, intl, json, pdo_sqlite, sqlite3 coverage: # Specify code-coverage driver, see https://github.com/marketplace/actions/setup-php-action#coverage-optional # # Required: false # Default: none token: # GitHub token for authentication # # Required: false # Default: "" ```