Download the PHP package timo-de-winter/laravel-docker without Composer

On this page you can find all versions of the php package timo-de-winter/laravel-docker. 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 laravel-docker

Laravel Docker

Latest Version on Packagist Total Downloads License

A comprehensive Laravel package that provides a complete Docker-based development environment for Laravel projects. Inspired by Laravel Sail but with additional services and optimizations for modern Laravel development.

Note: This package contains features that I use across almost all my projects. For a more customizable experience, consider Laravel Sail. This package is ideal if you want a full-featured development environment out of the box.

Features

Services Included

Service Purpose Port Admin Panel
Application PHP 8.4 + Laravel 80 -
MariaDB Database 3306 -
Redis Cache & Sessions 6379 -
Mailpit Email Testing 1025 http://localhost:8025
MinIO S3-compatible Storage 9000 http://localhost:8900
Meilisearch Full-text Search 7700 http://localhost:7700

Requirements

Installation

1. Install the Package

2. Run the Installation Command

This interactive command will:

3. Start Your Environment

After installation, start your development environment:

Your Laravel application will be available at http://localhost

Usage

Container Management

Laravel Development

Package Management

Code Quality

Database Operations

Development Tools

AI Tools Integration

If you chose to enable AI tools during setup, you get access to both Claude Code and Laravel Boost:

Laravel Boost MCP Server

Laravel Boost provides a Model Context Protocol (MCP) server with specialized Laravel tools:

Queue Management with Horizon

Laravel Horizon is automatically installed and configured during setup:

Debugging with Xdebug

Enable Xdebug for debugging sessions:

Configure your IDE to connect to localhost:9003 for Xdebug sessions.

Sharing Your Site

Expose your local development site using expose.dev:

Environment Configuration

The package respects standard Laravel environment variables and adds a few Docker-specific ones:

Docker Configuration

PHP Configuration

The container includes optimized PHP settings:

Container Stack

Volume Mounts

Comparison with Laravel Sail

Feature Laravel Docker Laravel Sail
Services 6 pre-configured Customizable selection
PHP Version 8.4 8.1, 8.2, 8.3
Node Version 22 18, 20
Queue Processing Horizon (auto-start) Manual setup
Search Meilisearch included Optional
Storage MinIO included Optional
Email Testing Mailpit included Mailhog optional
Setup One command Requires publishing

Troubleshooting

Common Issues

Port already in use:

Permission issues:

Services not starting:

Database connection issues:

Performance Tips

  1. Use Docker Desktop's WSL2 backend on Windows
  2. Allocate sufficient memory to Docker (4GB+ recommended)

Development

Package Development

If you want to contribute to this package:

License

This package is open-sourced software licensed under the MIT License.

Credits

Support


Happy coding! 🚀


All versions of laravel-docker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0||^13.0
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 timo-de-winter/laravel-docker contains the following files

Loading the files please wait ...