Download the PHP package m1n64/laravel-12-docker-startup without Composer

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

๐Ÿš€ Laravel 12 Docker Startup

This is a Docker-based template for Laravel 12, built with:

And useful libraries:


๐Ÿ›  Setup Instructions

1๏ธโƒฃ Clone the Repository

2๏ธโƒฃ Copy .env and Update Configuration


๐Ÿš€ Start Containers

๐Ÿ”น Using Docker

๐Ÿ”น Using Makefile


๐Ÿ“ฆ Install Dependencies

๐Ÿ›  Install PHP Dependencies

Run inside the container:

Or using Makefile:

๐ŸŽธ Install Node.js & NPM Dependencies

๐Ÿ”‘ Generate App Key

๐Ÿ“œ Run Migrations

๐Ÿ”— Create Storage Symlink


๐Ÿ’ป Available Commands

๐Ÿ›  Running Laravel Commands

Action Docker Command Makefile Shortcut
Run php artisan docker-compose exec -u www-data app php artisan <cmd> make artisan <cmd>
Run composer docker-compose exec -u www-data app composer <cmd> make composer <cmd>
Run npm docker-compose exec -u www-data app npm <cmd> make npm <cmd>
Open Bash docker-compose exec -u www-data app bash make bash
View Logs docker-compose logs -f app make logs app
Open PostgreSQL CLI docker-compose exec -e PGPASSWORD=<pass> postgres psql -U <user> -d <db> make psql
Open Redis CLI docker-compose exec redis redis-cli make redis
Run Tests docker-compose exec -u www-data app php artisan test make test

๐Ÿ›‘ Managing Containers

๐Ÿ”„ Restart & Stop

Action Docker Command Makefile Shortcut
Restart all docker-compose restart make restart
Restart one docker-compose restart <service> make restart-container CONTAINER=<name>
Stop all docker-compose stop make stop
Stop one docker-compose stop <service> make stop-container CONTAINER=<name>
Start all docker-compose up -d make up
Remove all docker-compose down -v make down

For list of all makefile commands, run make help.


๐Ÿ’ก PHPStorm Setup

PHP Interpreter

image image or image image image

If you use Laravel IDEA

image

XDebug

image image image


๐Ÿงช Run Tests

or,


๐Ÿ“œ Additional Notes


๐Ÿ”ฅ Now your Laravel 12 project is fully containerized!

Use Makefile commands just like Laravel Sail, and enjoy seamless Docker development! ๐Ÿš€


๐Ÿค– Authors


All versions of laravel-12-docker-startup with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
dedoc/scramble Version ^0.12.10
laravel/framework Version ^12.0
laravel/horizon Version ^5.30
laravel/sanctum Version ^4.0
laravel/telescope Version ^5.5
laravel/tinker Version ^2.10.1
opcodesio/log-viewer Version ^3.15
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 m1n64/laravel-12-docker-startup contains the following files

Loading the files please wait ....