• This repository has been archived on 26/Aug/2021
  • Stars
    star
    1
  • Language
    PHP
  • Created over 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A library for making installs of Spark compatible with Laravel Spark

Hexavel Spark

Hexavel Spark is a simple compatibility library designed to work with Laravel Spark and the Hexavel version of Laravel. This library still requires you to buy a license for Spark and is useless with out one.

Support

This package is purely supported by myself Peter Fox and using it could throw up issues which isn't covered by Spark itself due to the nature of using a different folder structure to Laravel as well as an off shoots of Laravel Elixir made for Hexavel.

Hexavel has never been meant for beginner users and you shouldn't use Hexavel unless you're sure of what you're doing.

Install

First create a Hexavel project per the instructions and then download a copy of Spark and paste it into the support/packages directory of the project. You can then modify composer.json with

    "repositories": [
            {
                "type": "path",
                "url": "./support/packages/spark"
            }
    ]        

Then run:

composer require laravel/cashier 
composer require laravel/spark:*@dev
composer require hexavel/spark 

Then add the Hexavel Spark provider to the config/app.php e.g.

/*
 * Application Service Providers...
 */
Hexavel\Spark\Providers\SparkServiceProvider::class,
Laravel\Cashier\CashierServiceProvider::class,

If you then run bin/artisan you should see the new spark commands added, they should also say (Hexavel Modified) in the description.

You should then simply be able to run bin/artisan spark:install --force or bin/artisan spark:install --team-billing --force and have the stubs for Spark installed in the correction positions for Hexavel.

Afterwards you just need to add the newly installed SparkServiceProvider.

/*
 * Application Service Providers...
 */
Hexavel\Spark\Providers\SparkServiceProvider::class,
Laravel\Cashier\CashierServiceProvider::class,
App\Laravel\Providers\SparkServiceProvider::class, // App Spark Provider

Then the final step to a fully working Spark/Hexavel Project is to run npm install and then gulp to build all the javascript and less assets as well as bin/artisan migrate to install the database tables.

Update

To upgrade you should first run composer update to check for a new version of Hexavel Spark you can then update Spark the same way for Hexavel as Laravel via bin/artisan spark:update. The main difference with Hexavel is you will be warned if we're yet to check the compatibility of the library with Spark. For the most part it shouldn't be an issue but this can't always be guaranteed.

More Repositories

1

laravel-webhook-demo

The example code for the article https://medium.com/@SlyFireFox/laravel-innovations-making-your-own-webhook-mechanism-through-notifications-96e75e99a2b1
PHP
17
star
2

laravel-elixir-mjml

A task plugin for running MJML templates in Laravel Elixir
JavaScript
11
star
3

hexavel

A modified version of the Laravel Framework
PHP
7
star
4

openai-laravel-demo

A demo app for using OpenAI with Laravel
PHP
7
star
5

macros-demo

A Demo for Macros
PHP
7
star
6

nova-social-login-demo

A demo for how to implement Social Logins for Laravel Nova
PHP
5
star
7

laravel-runscope

A PHP library for making it easy to use Runscope with your web hooks and external API calls
PHP
5
star
8

notifications-demo

The code in this project is an example of how to create a simple streamlined email unsubscribe mechanism for Laravel's notification system
PHP
5
star
9

hieroglyph

A package to simplify changing between different icon sets
PHP
3
star
10

roadrunner-plugin-template

Template project for a RoadRunner plugin
Go
3
star
11

bitpayclient

An OOP PHP client for interacting with the BitPay API
PHP
2
star
12

validation-rule-demo

The example code for the article https://medium.com/@SlyFireFox/test-driven-development-for-custom-laravel-validation-rules-669d01e34a65
PHP
2
star
13

seo-demo

The code in this project is an example of how to create root level URLs for dynamic content without causing wildcard clashes
PHP
2
star
14

make-command-demo

A demo for making new Make commands in Laravel
PHP
2
star
15

laravel-incident-logs-demo

The example code for the article https://medium.com/@SlyFireFox/laravel-how-to-make-incident-logs-d7fa88e48490
PHP
2
star
16

torino

An example of a simple Onion address generator
JavaScript
1
star
17

graphaware-reco-client-php

A configurable PHP library for fetching recommendations from a GraphAware Recommendation setup
PHP
1
star
18

waitformysql

A mini golang util for waiting for a mysql database to be up
Go
1
star
19

laravel-casts-examples

A demo for Laravel Custom Casts with common examples for Money, Location/Address and Date Intervals
PHP
1
star
20

testing-trait-hooks-demo

Demo for Trait hooks to use in Test Cases
PHP
1
star
21

custom-make-model-command

A demo for customising the Laravel make model command to use singular table names.
PHP
1
star