Package Data | |
---|---|
Maintainer Username: | alistairshaw |
Maintainer Contact: | alistairshaw@gmail.com (Alistair Shaw) |
Package Create Date: | 2015-08-02 |
Package Last Update: | 2018-03-12 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-23 15:00:03 |
Package Statistics | |
---|---|
Total Downloads: | 174 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
#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