{"id":21250348,"url":"https://github.com/jsunier/php-laravel-test","last_synced_at":"2026-04-17T06:34:36.815Z","repository":{"id":90832458,"uuid":"144631849","full_name":"jsunier/php-laravel-test","owner":"jsunier","description":"Docker images to run PHPUnit with Laravel","archived":false,"fork":false,"pushed_at":"2020-03-08T12:51:06.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T05:16:30.977Z","etag":null,"topics":["docker","laravel","php","php7","phpunit"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsunier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-13T20:44:02.000Z","updated_at":"2020-03-08T12:51:08.000Z","dependencies_parsed_at":"2023-04-25T03:19:22.116Z","dependency_job_id":null,"html_url":"https://github.com/jsunier/php-laravel-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsunier/php-laravel-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsunier%2Fphp-laravel-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsunier%2Fphp-laravel-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsunier%2Fphp-laravel-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsunier%2Fphp-laravel-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsunier","download_url":"https://codeload.github.com/jsunier/php-laravel-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsunier%2Fphp-laravel-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31918731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","laravel","php","php7","phpunit"],"created_at":"2024-11-21T03:17:59.548Z","updated_at":"2026-04-17T06:34:36.793Z","avatar_url":"https://github.com/jsunier.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsunier/php-laravel-test\n\nDocker image to run PHPUnit with Laravel on PHP 7.1/7.2/7.3/7.4.\n\nThe image is published on the [Docker Hub](https://hub.docker.com) at this address : https://hub.docker.com/r/jsunier/php-laravel-test.\n\nThis image contains multiple versions available for testing your code with PHPUnit and Laravel.\n\n# Usage\n\n## Informations\n\nFor now, there is only one available database adapters for the available PHP versions:\n\n* MySQL/MariaDB\n\nEvery images include the latest version of [composer](https://getcomposer.org).\n\nList of PHP extensions installed:\n\n| Extension / PHP version | 7.1 | 7.2 | 7.3 | 7.4 |\n|-------------------------|:---:|:---:|:---:|:---:|\n| `mbstring`              |  ✅  |  ✅  |  ✅  | ✅ |\n| `zip`                   |  ✅  |  ✅  |  ✅  | ✅ |\n| `iconv`                 |  ✅  |  ✅  |  ✅  | ✅ |\n| `opcache`               |  ✅  |  ✅  |  ✅  | ✅ |\n| `bcmath`                |  ✅  |  ✅  |  ✅  | ✅ |\n| `pdo_mysql`             |  ✅  |  ✅  |  ✅  | ✅ |\n| `pdo`                   |  ✅  |  ✅  |  ✅  | ✅ |\n| `imagick`               |  ✅  |  ✅  |  ✅  | ✅ |\n| `gd`                    |  ✅  |  ✅  |  ✅  | ✅ |\n| `mcrypt`                |  ❌  |  ❌  |  ❌  | ❌ |\n| `oci8`                  |  ❌  |  ❌  |  ❌  | ❌ |\n| `postgresql`            |  ❌  |  ❌  |  ❌  | ❌ |\n| `redis`                 |  ❌  |  ❌  |  ❌  | ❌ |\n\nAdditionally, there is [hirak/prestissimo](https://packagist.org/packages/hirak/prestissimo) installed in all images to speed up `composer install/update`.\n\n## Architectures available\n\nImages are compiled for these architectures:\n\n* `arm32v7`\n* `amd64`\n\n## PHP7.1\n\n### MySQL/MariaDB\n\n* amd64 : `jsunier/php-laravel-test:7.1-mysql` or `jsunier/php-laravel-test:7.1-mariadb`\n* arm32v7 : `jsunier/php-laravel-test:7.1-mysql-arm32v7` or `jsunier/php-laravel-test:7.1-mariadb-arm32v7`\n\n## PHP7.2\n\n* amd64 : `jsunier/php-laravel-test:7.2-mysql` or `jsunier/php-laravel-test:7.2-mariadb`\n* arm32v7 : `jsunier/php-laravel-test:7.2-mysql-arm32v7` or `jsunier/php-laravel-test:7.2-mariadb-arm32v7`\n\n## PHP7.3\n\n* amd64 : `jsunier/php-laravel-test:7.3-mysql` or `jsunier/php-laravel-test:7.3-mariadb`\n* arm32v7 : `jsunier/php-laravel-test:7.3-mysql-arm32v7` or `jsunier/php-laravel-test:7.3-mariadb-arm32v7`\n\n## PHP7.4\n\n* amd64 : `jsunier/php-laravel-test:7.4-mysql` or `jsunier/php-laravel-test:7.4-mariadb` or `jsunier/php-laravel-test:latest-mysql` or `jsunier/php-laravel-test:latest-mariadb`\n* arm32v7 : `jsunier/php-laravel-test:7.4-mysql-arm32v7` or `jsunier/php-laravel-test:7.4-mariadb-arm32v7` or `jsunier/php-laravel-test:latest-mysql-arm32v7` or `jsunier/php-laravel-test:latest-mariadb-arm32v7`\n\n# Default configurations\n\nDefault value in Dockerfile's directives:\n\n| Directive | Value                                                     |\n|-----------|-----------------------------------------------------------|\n| `WORKDIR` | `/app`                                                    |\n| `VOLUME`  | `[ \"/app\" ]`                                              |\n| `EXPOSE`  | `8000`                                                    |\n| `CMD`     | `[ \"php\", \"/app/artisan\", \"serve\", \"--host\", \"0.0.0.0\" ]` |\n\nThe default user is `laravel`.\n\n# Build\n\n## All at once\n\nThere is a `Makefile` available to simplify the creation of theses images.\n\nYou can change the values inside this file to set your custom repository, folders, tags, etc.\n\n\u003e You need to have `make` installed (`sudo apt install make`)\n\n### Build AMD (x64)\n\n```\n$ make build-amd\n$ make push-amd\n```\n\n### Build ARM (arm32v7)\n\n```\n$ make build-arm\n$ make push-arm\n```\n\n## Specific container\n\nTo build these images, just go into the folder of you choice and run `docker build . -t \u003cyour-image-name:your-tag\u003e`.\n\nExample:\n```\n# cd amd64/php7.4/mysql\n# docker build . -t my-awesome-phpunit-image\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsunier%2Fphp-laravel-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsunier%2Fphp-laravel-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsunier%2Fphp-laravel-test/lists"}