Download the PHP package uogsoe/laravel-init without Composer
On this page you can find all versions of the php package uogsoe/laravel-init. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-init
Laravel Init
A Composer package that bootstraps Laravel projects with Flux UI, Keycloak SSO, Docker/Lando setup, and common packages via a single Artisan command.
What It Does
- Installs and activates Flux UI with Tailwind CSS v4
- Configures Keycloak SSO via Laravel Socialite
- Installs Horizon and Sanctum
- Installs Docker/Lando scaffolding used for local/dev/CI workflows
- Copies template files (routes, providers, views, etc.) with diff preview
- Injects config into
routes/web.phpandconfig/services.php - Registers
SSOServiceProviderinbootstrap/providers.php - Sets up environment variables
Requirements
- A fresh Laravel 11+ project with a clean git working tree
- Flux UI licence
- Node.js and Composer
Installation
Install as a dev dependency:
Usage
Options
| Option | Description |
|---|---|
--skip-npm |
Skip npm package installation |
--skip-composer |
Skip composer package installation |
--skip-flux |
Skip Flux activation |
--skip-docker |
Skip Docker/Lando/CI template files |
--dry-run |
Show what would change without writing files |
--force |
Overwrite all files without prompting |
File Diff Preview
When copying template files that already exist in your project, the command prompts with y/n/d(iff). Pressing d shows a unified diff between your existing file and the template, so you can make an informed decision before overwriting.
At the end of execution, project:init prints a summary of copied/skipped files and command execution status.
Docker/Lando Setup
project:init installs Docker/Lando files from stubs/, including:
docker/scripts/config.lando.ymldocker-compose.yml,prod-stack.yml,qa-stack.yml- CI files (
.github/,.gitlab-ci.yml,phpunit*.xml,phpunit*.Dockerfile) Dockerfile,.dockerignore, and related support files
Environment handling is applied in this order:
- If
.envis missing, it is created from the project's.env.example stubs/.env.landovalues are merged into.envAPP_NAMEis set from the project folder name (title-cased)APP_URLis set tohttps://<project-folder>.lndo.site/.lando.ymlname:is set to<project-folder>(slug form).env.exampleis updated to match the final.envAPP_KEYin.env.exampleis refreshed usingphp artisan key:generate --show
It also adds required Docker/Lando ignore entries to your project .gitignore and ensures:
storage/minio_dev/bucket/.gitkeepstorage/meilisearch/.gitkeep
Packages Installed
Composer:
livewire/livewirelivewire/fluxlaravel/socialitesocialiteproviders/keycloaklaravel/horizonlaravel/sanctum
NPM:
vitetailwindcss@tailwindcss/vitelaravel-vite-plugin
Customisation
Fork this repo and modify the properties in src/Commands/ProjectInitCommand.php:
| Property | Purpose |
|---|---|
$autoCopyPatterns |
Patterns that overwrite without prompting |
$internalStubFiles |
Stub files used internally (not copied directly) |
$gitignoreEntries |
Entries appended to .gitignore |
$boostPromptUrl |
URL for team conventions file |
Template Files
Template files live in the stubs/ directory. The command copies stubs into the target project, except internal helper files such as stubs/.env.lando. Existing files prompt before overwriting (unless matched by $autoCopyPatterns or --force is used).
Environment Variables
Project-specific environment values are defined in stubs/.env.lando and merged into .env, then copied to .env.example. This includes keys such as:
Licence
MIT
All versions of laravel-init with dependencies
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0