genealabs / laravel-sparkinstaller
Requires
- php: >=5.5.9
- illuminate/console: ^5.1
- laravel/spark: 0.1.1
This package is not auto-updated.
Last update: 2016-07-01 17:51:55 UTC
README
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
composer require genealabs/laravel-sparkinstaller --dev
Add the service providers:
Laravel\Spark\Providers\SparkServiceProvider::class, GeneaLabs\LaravelSparkInstaller\Providers\LaravelSparkInstallerServiceProvider::class,
DO NOT RUN
php artisan spark:install
, as that is meant for new installations only. Instead, runphp artisan spark:upgrade
.- 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!