Watch-Video / laravel-sparkinstaller by Watch-Video
forked from lstables/laravel-sparkinstaller

0
0
1
Package Data
Maintainer Username: Watch-Video
Maintainer Contact: hello@genealabs.com (Mike Bronner)
Package Create Date: 2015-10-26
Package Last Update: 2015-10-26
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-15 15:04:00
Package Statistics
Total Downloads: 0
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Spark Installer for Laravel

This is very much a pre-release version. As long as Laravel Spark is not stable, neither is this package. Please test on a new branch of your Laravel app, so in case it doesn't work as expected you won't loose anything. If it does work, just PR the branch into your release branch for your app once you are satisfied.

Goal

Ability to quickly add Spark to your existing Laravel 5.1 projects.

Installation

  1. composer require genealabs/laravel-sparkinstaller --dev
  2. Add the service providers:
        Laravel\Spark\Providers\SparkServiceProvider::class,
        GeneaLabs\LaravelSparkInstaller\Providers\LaravelSparkInstallerServiceProvider::class,
  1. DO NOT RUN php artisan spark:install, as that is meant for new installations only. Instead, run php artisan spark:upgrade.
  2. If you didn't choose to let the upgrade process run the migrations, make any necessary changes, then run the migrations manually.: php artisan migrate.

Publishing Views

Before publishing Spark views for customization, be sure to backup your /resources/views/home.blade.php file first, as it will get overwritten. Then you can publish the views as follows:

php artisan vendor:publish --tag=spark-full

Uninstallation

Coming soon!

Documentation

Coming soon!