WARP Project Control Center

dev-master 2017-09-19 03:54 UTC

This package is not auto-updated.

Last update: 2025-07-06 07:13:27 UTC


README

Table of contents

Links


  > Address on GitHub
      https://github.com/warpcomplex/warp
	
			

Description

WARP Project Control Center


 

Install and uninstall for users

What do you mean "for users"?
-----------------------------
You could use this type of install/uninstall, if you are not
going to make some contributions to this package as a developer.

Step-by-step installation instruction
-------------------------------------

  1. Put the package to 'require' in 'composer.json' of your project:

    "require": {
      ...
	  "warpcomplex/warp": "dev-master"
    },

  2. Invoke this command in terminal at your project root:

    composer update

  3. Put this string to 'aliases' in 'config/app.php' of your project:

    "aliases" => [
      ...
      WARP => WARP\CC\app\App::class,
    ]

  4. Put this strings to 'providers' in 'config/app.php' of your project:

    "providers" => [
      ...
      WARP\CC\providers\General::class,
      WARP\CC\providers\Validators::class,
      WARP\CC\providers\Gates::class,
    ]

  5. Uncomment this string in 'providers' in 'config/app.php' of your project:

    "providers" => [
      ...
      App\Providers\BroadcastServiceProvider::class,
      ...
    ]

  6. Invoke this commands in terminal at your project root:

    composer dump-autoload    // will have updated composer class autoloader
    artisan warp:install      // will have performed several install processes

  7. Invoke this command in terminal at your project root to run the package migrations:

    artisan migrate --path=vendor/warpcomplex/warp/app/other/migrations/

  8. Replace 'model' value in 'users' in 'providers' in 'config/auth.php' with:

    WARP\CC\models\Users::class

Step-by-step uninstallation instruction
---------------------------------------

  1. Remove the package from 'require' in 'composer.json' of your project:

    "require": {
      ...
	  "warpcomplex/warp": "dev-master"
    },

  2. Invoke this command in terminal at your project root:

    composer update

  3. Remove this string from 'aliases' in 'config/app.php' of your project:

    "aliases" => [
      ...
      WARP => WARP\CC\app\App::class,
    ]

  4. Remove this strings from 'providers' in 'config/app.php' of your project:

    "providers" => [
      ...
      WARP\CC\providers\General::class,
      WARP\CC\providers\Validators::class,
      WARP\CC\providers\Gates::class,
    ]

  5. Invoke this commands in terminal at your project root:

    composer dump-autoload    // will have updated composer class autoloader
    artisan warp:uninstall    // will have performed several uninstall processes

  6. Invoke this command in terminal at your project root to rollback the package migrations:

    artisan migrate:rollback --path=vendor/warpcomplex/warp/app/other/migrations/

  7. Replace 'model' value in 'users' in 'providers' in 'config/auth.php' with:

    App\User::class

Install and uninstall for developers

What do you mean "for developers"?
----------------------------------
You could use this type of install/uninstall, if you are going
to make some contributions to this package as a developer.

Step-by-step installation instruction
-------------------------------------

  1. From the project root clone the package repository from github to vendor/warpcomplex/warp:

    git clone https://github.com/warpcomplex/warp.git vendor/warpcomplex/warp

  2. Put this to 'require' in 'composer.json' of your project:

    "require": {
      ...
      "predis/predis": "^1.0"
    },

  3. Invoke this command in terminal at your project root:

    composer update

  4. Put this to 'PSR-4' in 'autoload' in 'composer.json' of your project:

    "autoload": {
      ...
      "PSR-4": {
        ...
        "WARP\\CC\\": "vendor/warpcomplex/warp"
      }
    },

  5. Put this string to 'aliases' in 'config/app.php' of your project:

    "aliases" => [
      ...
      WARP => WARP\CC\app\App::class,
    ]

  6. Put this strings to 'providers' in 'config/app.php' of your project:

    "providers" => [
      ...
      WARP\CC\providers\General::class,
      WARP\CC\providers\Validators::class,
      WARP\CC\providers\Gates::class,
    ]

  7. Uncomment this string in 'providers' in 'config/app.php' of your project:

    "providers" => [
      ...
      App\Providers\BroadcastServiceProvider::class,
      ...
    ]

  8. Invoke this commands in terminal at your project root:

    composer dump-autoload    // will have updated composer class autoloader
    artisan warp:install      // will have performed several install processes

  9. Invoke this command in terminal at your project root to run the package migrations:

    artisan migrate --path=vendor/warpcomplex/warp/app/other/migrations/

  10. Replace 'model' value in 'users' in 'providers' in 'config/auth.php' with:

    WARP\CC\models\Users::class

Step-by-step uninstallation instruction
---------------------------------------

  1. Remove folder vendor/warpcomplex/warp

  2. Remove this from 'require' in 'composer.json' of your project:

    "require": {
      ...
	  "predis/predis": "^1.0"
    },

  3. Invoke this command in terminal at your project root:

    composer update

  4. Remove this from 'PSR-4' in 'autoload' in 'composer.json' of your project:

    "autoload": {
      ...
      "PSR-4": {
        ...
	    "WARP\\CC\\": "vendor/warpcomplex/warp"
	  }
    },

  5. Remove this string from 'aliases' in 'config/app.php' of your project:

    "aliases" => [
      ...
      WARP => WARP\CC\app\App::class,
    ]

  6. Remove this strings from 'providers' in 'config/app.php' of your project:

    "providers" => [
      ...
      WARP\CC\providers\General::class,
      WARP\CC\providers\Validators::class,
      WARP\CC\providers\Gates::class,
    ]

  7. Invoke this commands in terminal at your project root:

    composer dump-autoload    // will have updated composer class autoloader
    artisan warp:uninstall    // will have performed several uninstall processes

  8. Invoke this command in terminal at your project root to rollback the package migrations:

    artisan migrate:rollback --path=vendor/warpcomplex/warp/app/other/migrations/

  9. Replace 'model' value in 'users' in 'providers' in 'config/auth.php' with:

    App\User::class


Release notes


  5.4.0
    - This will be the first release of this package.