coderstm / laravel-installer
Laravel web installer
Installs: 2 940
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/coderstm/laravel-installer
Requires
- php: ^8.2
- ext-json: *
- illuminate/console: ^12.0
- illuminate/contracts: ^12.0
- illuminate/support: ^12.0
Requires (Dev)
- mockery/mockery: ^1.0
- nunomaduro/collision: ^8.1
- orchestra/testbench: ^10.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^11.5
README
About
Do you want your clients to be able to install a Laravel project just like they do with WordPress or any other CMS? This Laravel package allows users who don't use Composer, SSH etc to install your application just by following the setup wizard. The current features are :
- Check For Server Requirements.
- Check For Folders Permissions.
- Ability to set database information.
- .env text editor
- .env form wizard
- Migrate The Database.
- Seed The Tables.
Requirements
Installation
- From your projects root folder in terminal run:
composer require coderstm/laravel-installer
- Register the package
-
Laravel 5.5 and up Uses package auto discovery feature, no need to edit the
config/app.phpfile. -
Laravel 5.4 and below Register the package with laravel in
config/app.phpunderproviderswith the following:
'providers' => [ Coderstm\LaravelInstaller\Providers\LaravelInstallerServiceProvider::class, ];
- Publish the packages views, config file, assets, and language files by running the following from your projects root folder:
php artisan vendor:publish --tag=installer-config
php artisan vendor:publish --tag=installer-lang
php artisan vendor:publish --tag=installer-assets
Routes
/install/update
Usage
-
Install Routes Notes
- In order to install your application, go to the
/installroute and follow the instructions. - Once the installation has ran the empty file
.installedwill be placed into the/storagedirectory. If this file is present the route/installwill abort to the 404 page.
- In order to install your application, go to the
-
Update Route Notes
- In order to update your application, go to the
/updateroute and follow the instructions. - The
/updateroutes countes how many migration files exist in the/database/migrationsfolder and compares that count against the migrations table. If the files count is greater then the/updateroute will render, otherwise, the page will abort to the 404 page.
- In order to update your application, go to the
-
Additional Files and folders published to your project :