Download the PHP package vblinden/stackd without Composer

On this page you can find all versions of the php package vblinden/stackd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package stackd

stackd

Local database and service manager for macOS.

Create global named instances of MySQL, MariaDB, PostgreSQL, Valkey, Mailpit, Meilisearch, and MinIO — then connect any Laravel or Next.js project to them. Built to sit alongside Laravel Valet. Native binaries by default; official Docker images if you want them.

PHP Version Latest

Why stackd?

Requirements

Installation

Via Composer (recommended)

This installs the prebuilt PHAR from the package (builds/stackd). Make sure Composer's global bin directory is on your PATH.

PHAR

Or install manually:

Default credentials

Service Username Password
MySQL / MariaDB root (empty)
PostgreSQL laravel (empty)
MinIO stackd secretkey
Meilisearch random master key (shown on create)

Quick start

create starts the instance immediately and can optionally add it to start-at-login.

Next.js apps get Prisma/Drizzle DATABASE_URL, REDIS_URL, and SMTP/EMAIL_* keys (written to .env, or .env.local if that is the only env file). Laravel apps still get DB_* / MAIL_*.

Runtime (native or Docker)

Native binaries are the default. Set the default for new instances once:

Existing instances keep the runtime they were created with. Status, list, and the home screen show native or docker on each instance.

Service Docker image
MySQL mysql:8.4 / mysql:8.0
MariaDB mariadb:11.4
PostgreSQL postgres:18
Valkey valkey/valkey:8
Mailpit axllent/mailpit
Meilisearch getmeili/meilisearch:v1.51
MinIO minio/minio

Docker instances still bind 127.0.0.1, use the same ports and credentials, and store data under ~/.stackd/instances/…. There is no host Unix socket — connect with 127.0.0.1 and the instance port (mysql -h 127.0.0.1 -P 3306 -u root). stackd start, stop, logs, env, open, and delete work the same way. Autostart uses --restart unless-stopped so containers come back when Docker Desktop starts.

Native data directories are not migrated into Docker (on-disk layouts differ). Create a new docker instance, or keep the native one. Docker Desktop must be running for docker creates and starts.

Commands

Command Description
stackd create / add Create (and start) a service instance
stackd start [service] [name] Start an instance, or all instances when no service is given
stackd stop [service] [name] Stop an instance, or all instances when no service is given
stackd restart <service> [name] Restart an instance
stackd status Show all instances
stackd list List instances as a table
stackd delete / remove / uninstall Delete an instance and its data
stackd env [service] [name] Write .env keys for Laravel or Next.js projects
stackd env --show Print variables instead of writing
stackd open <service> [name] Open TablePlus or the web UI
stackd logs <service> [name] Tail instance logs
stackd doctor Diagnose install & dependencies
stackd autostart … Manage LaunchAgent start-at-login
stackd runtime [native\|docker] Show or set the default runtime for new instances

Run stackd with no arguments for the home screen (running services + command list).

How it works

Instances live under ~/.stackd/:

Binaries are fetched the first time you create a service. MariaDB and Valkey compile locally; other services use official release archives.

Services are tuned for local macOS use: smaller memory footprints, less aggressive disk sync, and background process priority so idle instances are easier on battery. Restart existing instances (stackd restart <service>) to pick up the new settings.

Building a PHAR

Commit builds/stackd before tagging. Packagist serves that PHAR via composer global require; tagged releases (v*) also attach it to the GitHub release.

Changelog

See GitHub Releases.

Contributing

Issues and pull requests are welcome on GitHub.

License

MIT


All versions of stackd with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vblinden/stackd contains the following files

Loading the files please wait ...