PHPackages                             neo/little-sail - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. neo/little-sail

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

neo/little-sail
===============

Smaller Alpine based image for Laravel Sail runtimes

v1.0.6(4y ago)389.0k6[1 issues](https://github.com/neoighodaro/little-sail/issues)MITDockerfilePHP ^7.3|^8.0

Since Feb 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/neoighodaro/little-sail)[ Packagist](https://packagist.org/packages/neo/little-sail)[ RSS](/packages/neo-little-sail/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

⛵ Little Sail
=============

[](#-little-sail)

 [ ![Total Downloads](https://camo.githubusercontent.com/fac1518e69aca52af835594e839799318a83484fe7e723cf203663fec2d67acc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e656f2f6c6974746c652d7361696c) ](https://packagist.org/packages/neo/little-sail) [ ![Latest Stable Version](https://camo.githubusercontent.com/843348eabb7561bb35de4f6685397bfdb84192a4f3dff149ecf2e3b577c6df4a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e656f2f6c6974746c652d7361696c) ](https://packagist.org/packages/neo/little-sail) [ ![License](https://camo.githubusercontent.com/efdf8bb5319ae80196ab36626d1d649c524ffe0dbf452d1152f3d06b8aab76cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e656f2f6c6974746c652d7361696c) ](https://packagist.org/packages/neo/little-sail)

Little Sail is just an extension for [Laravel Sail](https://github.com/laravel/sail). Currently, the Laravel Sail PHP image is over ~666mb. This is mostly because it uses the Ubuntu image. For those who would prefer smaller images, I created this extension.

The image generated by this package is around ~284mb. Thats around a **57% decrease** in size.

 [![Screenshot 2021-02-28 at 16 14 43](https://user-images.githubusercontent.com/807318/109423532-1365b580-79e0-11eb-955f-9cd51fe661f1.png)](https://user-images.githubusercontent.com/807318/109423532-1365b580-79e0-11eb-955f-9cd51fe661f1.png)

It is a similar image with the same extensions but built using a [Linux Alpine](https://alpinelinux.org/) base.

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

[](#installation)

To install, use composer to pull the package:

```
composer require neo/little-sail --dev
```

Next, update your projects `docker-compose.yml` file as follows:

```
version: '3'
services:
    api:
        build:
            context: ./vendor/laravel/sail/runtimes/8.2             # Replace this
            context: ./vendor/neo/little-sail/runtimes/8.2-alpine   # With this (or 8.0 or 7.4 if thats what you want)
# ...
```

If you already had Laravel Sail running, you will have to stop the containers, and then delete the `sail-8.0/app` image and then run `sail up` again (you can also just change the image name in your `docker-compose.yml` file).

You can use the nifty command included with the package:

```
$ ./vendor/bin/dock
```

Then when the command is done running, you can bring Laravel Sail up again.

Customising Little Sail runtimes
--------------------------------

[](#customising-little-sail-runtimes)

If you want, you can update the Little Sail runtimes to work specifically for you. Run:

```
$ php artisan little-sail:publish # or sail artisan little-sail:publish
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

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

Every ~59 days

Recently: every ~88 days

Total

7

Last Release

1543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cdfba6ac9dc28ba4134c841782ef374a05e6fb57974b0f106d64cf17e971db39?d=identicon)[neoighodaro](/maintainers/neoighodaro)

---

Top Contributors

[![neoighodaro](https://avatars.githubusercontent.com/u/807318?v=4)](https://github.com/neoighodaro "neoighodaro (26 commits)")[![mikolajsobolewski](https://avatars.githubusercontent.com/u/51751942?v=4)](https://github.com/mikolajsobolewski "mikolajsobolewski (2 commits)")[![Francismori7](https://avatars.githubusercontent.com/u/520647?v=4)](https://github.com/Francismori7 "Francismori7 (1 commits)")[![oytunyuksel](https://avatars.githubusercontent.com/u/3211035?v=4)](https://github.com/oytunyuksel "oytunyuksel (1 commits)")

---

Tags

laraveldockerNeolittle-sail

### Embed Badge

![Health badge](/badges/neo-little-sail/health.svg)

```
[![Health](https://phpackages.com/badges/neo-little-sail/health.svg)](https://phpackages.com/packages/neo-little-sail)
```

###  Alternatives

[downtoworld/laravel-devops

Laravel Cloudflare-Tunnels Ready Production Docker-Compose

161.1k](/packages/downtoworld-laravel-devops)

PHPackages © 2026

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