Today, We want to share with you Creating Laravel Web Installer Setup Wizard.In this post we will show you Powerful free Laravel installation wizard script, hear for Laravel Installer Create Laravel application install scripts we will give you demo and example for implement.In this post, we will learn about how to make web installation script for Laravel 5 application with an example.
Creating Laravel Web Installer Setup Wizard
There are the Following The simple About Creating Laravel Web Installer Setup Wizard Full Information With Example and source code.
As I will cover this Post with live Working example to develop Laravel Installation and Setup Wizard, so the Laravel easy installer,Laravel wizard,Laravel setup wizard,Laravel installer script for this example is following below.
step 1: Install laravel Application
[email protected]:/opt/lampp/htdocs/members_blog$ composer create-project --prefer-dist laravel/laravel team "5.5.*"
After Install Laravel Web application output :
Application key [base64:5Ss9qLWxO1NejaIxz1gFjYXdgLsrhjojiNz3vT+ywx4=] set successfully.
Go to Simple Your on team folder
Simple from your Laravel root main projects root folder in terminal run this commands.
[email protected]:/opt/lampp/htdocs/members_blog$ cd team/
[email protected]:/opt/lampp/htdocs/members_blog/team$ composer require rachidlaasri/laravel-installer
Output This Command tun to terminals
[email protected]:/opt/lampp/htdocs/members_blog/team$ composer require rachidlaasri/laravel-installer Using version ^4.0 for rachidlaasri/laravel-installer ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Installing rachidlaasri/laravel-installer (4.0.2): Loading from cache Writing lock file Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover Discovered Package: fideloper/proxy Discovered Package: laravel/tinker Discovered Package: nesbot/carbon Discovered Package: rachidlaasri/laravel-installer Package manifest generated successfully. [email protected]:/opt/lampp/htdocs/members_blog/team$
step 2: Register the package
We need to simple this path to edit the file name config/app.php file as well as Laravel in config/app.php under providers with the following
'providers' => [ RachidLaasri\LaravelInstaller\Providers\LaravelInstallerServiceProvider::class, ];
Put this line and save files
step 3: Publish Laravel packages views
Now, Publish the all Laravel packages views, setting .env config file, public floder assets, and js, img CSS or language files by running the following from your Laravel web Application root folder:
[email protected]:/opt/lampp/htdocs/members_blog/team$ php artisan vendor:publish --tag=laravelinstaller
Output This Command tun to terminals
[email protected]:/opt/lampp/htdocs/members_blog/team$ php artisan vendor:publish --tag=laravelinstaller Copied File [/vendor/rachidlaasri/laravel-installer/src/Config/installer.php] To [/config/installer.php] Copied Directory [/vendor/rachidlaasri/laravel-installer/src/assets] To [/public/installer] Copied Directory [/vendor/rachidlaasri/laravel-installer/src/Views] To [/resources/views/vendor/installer] Copied Directory [/vendor/rachidlaasri/laravel-installer/src/Lang] To [/resources/lang] Publishing complete.
Laravel Define Routes
[email protected]:/opt/lampp/htdocs/members_blog/team$ sudo chmod -R 777 storage/ [email protected]:/opt/lampp/htdocs/members_blog/team$ sudo chmod -R 777 bootstrap/cache/
Run Laravel Installer Application
I hope you get an idea about Creating Laravel Web Installer Setup Wizard.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.
Here are some more FAQ related to this Article: