Skip to content

EurActiv/VSAC-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VSAC-Examples

This package is an extension for the Very Simple Asset Coordinator (VSAC). It contains developer documentation, example plugins and example modules.

##Installation

Download either the whole extension or just the PHAR archive. Upload it to your web host and modify your front controller to use it. It should look something like this:

<?php
set_include_path(
    '/path/to/data/__application_phar__'
    . PATH_SEPARATOR .
    'phar:///path/to/vsac/application.phar'
);
require_once "application.php";
VSAC\set_data_directory('/path/to/data');
// this is the line you should add, after data directory and before bootstrap
VSAC\add_include_path('phar://path/to/vsac/examples.phar');

VSAC\bootstrap_web($debug = false);
VSAC\front_controller_dispatch();

##License and contributions

This application is provided under the MIT License. We'd be very happy to get contributions, they must simply be made with the same license.

About

Example modules for developers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •