Download the PHP package zisunal/laravel-installer without Composer

On this page you can find all versions of the php package zisunal/laravel-installer. 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-installer

laravel-installer

๐Ÿš€ Laravel Installer

A clean, wizard-based installer for Laravel apps
Built with Livewire 4 + Spatie Livewire Wizard.

Features โ€ข Quick Start โ€ข Configuration โ€ข Customization โ€ข Security

PHP Laravel Livewire License


โœจ Overview

zisunal/laravel-installer provides a guided installation flow at /install (configurable) that helps you:

It also includes middleware to redirect non-install routes to the installer until setup is complete.


๐Ÿ“ธ Installation Flow

Default ordered steps:

  1. Database (WelcomeStep)
  2. Requirements (RequirementsStep)
  3. Environment (EnvironmentStep)
  4. Admin User (AdminUserStep)
  5. Finish (FinishStep)

๐Ÿ”ฅ Features


โšก Quick Start

1) Install package

2) Run setup command

Use --force to republish installer config:

3) Open installer UI

Visit:

Convenience tip: if you prepend Zisunal\LaravelInstaller\Middleware\Installed in bootstrap/app.php, users are automatically redirected to the installer when the app is not installed yet.

Example:


๐Ÿ’ก Local Development Tip

When testing/using this package locally, use the PHP built-in server instead of composer run dev or php artisan serve. You can use composer run dev or php artisan once the installation is completed:

Why? The development servers (artisan serve, Vite hot-reload) restart when the .env file is modified. Since the installer writes to .env during finalization, server restarts break the installation workflow. The built-in server is stable and won't auto-restart on file changes.

โš ๏ธ Note: This is only a concern for local development. On production servers, the .env file is typically committed and static, so no restart occurs during installation.


๐Ÿงฉ What installer:setup does

The command:


โš™๏ธ Configuration

Publish config (if you have not done it already):

Key options in config/installer.php:

Key Purpose Default
enabled Enable/disable installer routes true
route_prefix Installer URI prefix install
redirect_after_install Redirect target after finish /admin
lock_file Installation lock file path storage/app/installed.lock
middleware Route middleware stack ['web']
generate_app_key Auto-generate app key true
run_migrations Auto-run migrations true
run_seeders Auto-run seeders true
database_seeder Specific seeder class null
storage_link Create public storage symlink true
admin_model Model used for first admin App\\Models\\User::class
admin_role_attribute Role field name on model role
admin_role_value Role value assigned to admin owner
steps Manually registered step classes package defaults
providers_to_register Providers to append to bootstrap list []
discover.enabled Auto-discover step classes true
discover.paths Discovery directories for custom Steps []

๐Ÿ› ๏ธ Customization

Custom installer URL

Custom redirect after install

Custom admin model + role behavior

Add providers during finalization

Add your own installer steps

Quick scaffold with Artisan

Generate a new installer step with Livewire component and view:

The command will ask you for:

  1. Installer step title โ€” e.g. Redis Setup
  2. Installer step description โ€” e.g. Configure Redis connection settings.
  3. Installer step order โ€” position in the wizard (1โ€“99), defaults to next available
  4. Where to create โ€” if auto-discovery is enabled, choose among discoverable paths; otherwise auto-placed in app/Installer/Steps

This creates:

Then customize the component and view as needed.

Option A โ€” manual registration

Option B โ€” auto-discovery

Your step class must extend:


๐Ÿง  Runtime Behavior

On Finish, the installer manager will:

  1. finalize DB connection config in memory,
  2. run migrations (if enabled),
  3. run seeders (if enabled),
  4. create/update admin user,
  5. clear caches,
  6. write lock file,
  7. write environment/config values,
  8. register configured providers,
  9. redirect to configured destination.

๐Ÿ” Security & Behavior


๐Ÿงช Reset / Re-run Installer (Development)

To run the installer again in a dev environment, remove the lock file:

If needed, also republish config:


๐Ÿงท Route & Middleware Integration

Use it on your app routes when you want hard installation gating:


๐Ÿค Contributing

Issues and pull requests are welcome.

If you contribute UI-related improvements, keep the wizard flow minimal, clear, and production-friendly.


๐Ÿ“„ License

MIT


All versions of laravel-installer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^13.0
illuminate/filesystem Version ^13.0
illuminate/routing Version ^13.0
illuminate/console Version ^13.0
livewire/livewire Version ^4.0
spatie/laravel-livewire-wizard Version >2.0
winter/laravel-config-writer Version >1.2
laravel/prompts Version ^0.3.15
binafy/laravel-stub Version ^1.1
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 zisunal/laravel-installer contains the following files

Loading the files please wait ...