bitterbyter / barrel
Dockerized Laravel Template with Octane-Swoole & Roll CLI
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.2
- laravel/framework: ^10.10
- laravel/octane: ^3.0@dev
- laravel/sanctum: ^3.2
- laravel/tinker: ^2.8
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel/pint: ^1.0
- laravel/sail: ^1.18
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^7.0
- phpunit/phpunit: ^10.1
- spatie/laravel-ignition: ^2.0
README
Dockerized Laravel Template with Octane-Swoole & Roll CLI
Getting Started
-
Customize environment variables and Docker services as needed (optional).
-
Create
.env
cp .env.example .env
-
Grant executable permissions to
roll.sh
:chmod +x roll.sh
-
Create an alias for
roll.sh
:alias roll=./roll.sh
-
Build images:
roll build
-
Launch containers:
roll up -d
-
Start the server:
roll serve
Note: This will serve the application using Octane. If you prefer Laravel's default server, use the
--default
option. -
Explore available commands and usage:
roll help
-
Confirm functionality by checking
APP_URL:APP_PORT
.
Note: Modify the
PREFIX
variable inroll.sh
. It applies to all containers, networks, and volumes managed by Roll.