Download the PHP package lanin/laravel-setup-wizard without Composer

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

Laravel-Setup-Wizard

Travis Scrutinizer Scrutinizer Coverage

Provide your Laravel project with handy setup wizard.

Guide your customer through all steps he need to perform for a proper setup of your project.

help

Installation

PHP 5.5.9+ or HHVM 3.3+, Composer and Laravel 5.1+ are required.

To get the latest version of Laravel-Setup-Wizard, simply install it via composer.

Once Laravel-Setup-Wizard is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key.

Usage

After installation project will receive the new Artisan command:

This command gives your customers the easy wizard for initial setup of the your project. By default it has 6 steps:

  1. Set new .env file from your .env.example or update existing
  2. Create new DB & user from .env
  3. Run migrations
  4. Run seeds
  5. Create first user
  6. Optimize code

Also they can run steps manually by adding it's alias as an argument:

For additional help use:

Configuration

All defaults are stored in setup.php config file. You can publish it in your app's config folder using artisan command:

Extending

You can create your own installations steps specifying them in your setup.php config.

First you should create new step class that will extend Lanin\Laravel\SetupWizard\Commands\Steps\AbstractStep. It has three abstract methods that you have to create:

This method has to return prompt text that will be shown to the user before step is executed.

This method can be used to collect all needed data for the step to execute. For example ask user for extra data or credentials, etc. All this data should be returned for further execution.

Preview method used to show user info about what particular commands will be executed. It is used to make user sure that everything will be ok.

The last but the most important step is right for the step execution. Should return boolean true if everything was ok and false if there was an error.

After everything is done, add your step to the setup.steps array in your setup.php file where key should be a step's alias and value is a fully resolved class name.

Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.


All versions of laravel-setup-wizard with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
illuminate/support Version ~5.1
illuminate/console Version ~5.1
vlucas/phpdotenv Version ~1.0
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 lanin/laravel-setup-wizard contains the following files

Loading the files please wait ....