PHPackages                             nothing-works/dock - 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. nothing-works/dock

ActiveLibrary

nothing-works/dock
==================

Dockerfiles for Laravel

09PHP

Since Jul 18Pushed 3y agoCompare

[ Source](https://github.com/vladislavs-poznaks/nothing-works-dock)[ Packagist](https://packagist.org/packages/nothing-works/dock)[ RSS](/packages/nothing-works-dock/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Dockerfiles for Laravel
=======================

[](#dockerfiles-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6229c504d46a0b2f77c346a3048d7550d495916bbde23ddce981d51c3921d7e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f7468696e672d776f726b732f646f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nothing-works/dock)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e5b1d864e816b07a0041ef66db27e38221151e4a8a40871ccc95e60f9df1ede6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6e6f7468696e672d776f726b732f646f636b2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/nothing-works/nothing-works-dock/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8f2cf6480299d0d61002bf618ff0dc649deac83b198b35390ebfc63130d6044b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6e6f7468696e672d776f726b732f6e6f7468696e672d776f726b732d646f636b2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/nothing-works/nothing-works-dock/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/5efcf7b5e6afe2e524a4ba07247b12ae519ed8e806a3eb82eb80f5e35af7a1c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f7468696e672d776f726b732f646f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nothing-works/dock)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/66631226329fd8e22cf7f5c317acec20cd598ca1efb9ec499ef5f13080fc6494/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6e6f7468696e672d776f726b732d646f636b2e6a70673f743d31)](https://spatie.be/github-ad-click/nothing-works-dock)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

#### You can create alias for `dock` binary:

[](#you-can-create-alias-for-dock-binary)

```
alias dock=./vendor/nothing-works/dock/bin/dock
```

#### You can install the package via composer:

[](#you-can-install-the-package-via-composer)

```
docker run --rm --interactive --tty --volume $PWD:/app composer require nothing-works/dock
```

or if you prefer composer on your machine

```
composer require nothing-works/dock
```

\###You can run the docker-compose.yml installation via artisan:

```
dock php artisan dock:install
```

or if you prefer php on your machine

```
php artisan dock:install
```

Optionally, you can publish and adjust dockerfiles via artisan if needed:

```
dock php artisan dock:publish
```

Usage
-----

[](#usage)

#### You can run the server:

[](#you-can-run-the-server)

```
dock up -d nginx
```

or

```
docker compose up -d nginx
```

#### You can run a specific container with related commands:

[](#you-can-run-a-specific-container-with-related-commands)

```
dock  command
```

or

```
docker compose run --rm  command
```

Available containers:

- **composer**
- **artisan**
- **phpunit**
- **npm**

### Examples:

[](#examples)

```
dock composer --version
```

or

```
docker compose run --rm composer --version
```

---

```
dock artisan inspire
```

or

```
docker compose run --rm artisan inspire
```

---

```
dock phpunit
```

or

```
docker compose run --rm phpunit
```

---

```
dock npm run prod
```

or

```
docker compose run --rm npm run prod
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/vladislavs-poznaks/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Vladislavs Poznaks](https://github.com/vladislavs-poznaks)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60.1% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e32fba07fba2d613c47b77dfa5ace5ceb2585fb6f2ef01b60530be02faff951?d=identicon)[vladislavs-poznaks](/maintainers/vladislavs-poznaks)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (292 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (46 commits)")[![vcprx](https://avatars.githubusercontent.com/u/67461428?v=4)](https://github.com/vcprx "vcprx (21 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (16 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (14 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (13 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (8 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (7 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (5 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![IGedeon](https://avatars.githubusercontent.com/u/694313?v=4)](https://github.com/IGedeon "IGedeon (4 commits)")[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (3 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (3 commits)")[![koossaayy](https://avatars.githubusercontent.com/u/6431084?v=4)](https://github.com/koossaayy "koossaayy (3 commits)")[![sixlive](https://avatars.githubusercontent.com/u/5108034?v=4)](https://github.com/sixlive "sixlive (3 commits)")[![willemvb](https://avatars.githubusercontent.com/u/1336390?v=4)](https://github.com/willemvb "willemvb (3 commits)")[![abenerd](https://avatars.githubusercontent.com/u/7523903?v=4)](https://github.com/abenerd "abenerd (3 commits)")

### Embed Badge

![Health badge](/badges/nothing-works-dock/health.svg)

```
[![Health](https://phpackages.com/badges/nothing-works-dock/health.svg)](https://phpackages.com/packages/nothing-works-dock)
```

PHPackages © 2026

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