Skip to content
Laravel Plugin for Vendirun API integration
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
App
config
public
resources
tests
.bowerrc
.env.example
.gitignore
README.md
bower.json
composer.json
composer.lock
gulpfile.js
package.json
phpunit.xml
routes.php

README.md

#SETUP

###Vendirun Laravel Package

This package can be pulled in to any Laravel project and provides all of the default Vendirun front-end functionality

Latest Stable Version: 1.2.2.0

###Importing the package into a new front-end

Install Laravel

composer create-project laravel/laravel newprojectname 5.2.*

Pull the package in via composer:

composer require alistairshaw/vendirun

Add the namespace to the PSR-4 section

"AlistairShaw\\Vendirun\\": "vendor/alistairshaw/vendirun"

Edit the /config/app.php file and add the VendirunServiceProvider to the app

AlistairShaw\Vendirun\App\Providers\VendirunServiceProvider::class

composer dump-autoload

// use this to publish all the assets including views
artisan vendor:publish

// RECOMMENDED: only copy the public assets
artisan vendor:publish --tag=public

// add --force to overwrite existing files
artisan vendor:publish --tag=public --force

Set the correct endpoint URL, client ID and API Key in the laravel .env file (see .env.example file)

The site is working! Now you just need to customise the CSS and any views you like

You can’t perform that action at this time.