Download the PHP package steadlane/vision6 without Composer

On this page you can find all versions of the php package steadlane/vision6. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package vision6

silverstripe-vision6

Code Climate Latest Stable Version License

Installation

This module only supports installation via composer:

Run /dev/build afterwards for SilverStripe to become aware of this extension

Configuration

Your Vision6 API key must be defined as the constant VISION6_API_KEY. In your mysite/_config.php you'll be required to add:

Once configured you can then ?flush=1 to syncronise your Vision6 Mailing Lists with SilverStripe. These lists will be refreshed upon every flush

Short Code

To include a subscriber form on any given page from within the CMS you will need to use the shortcode below:

Code:

Note: Change <<<YOUR LIST ID>>> to the ID of the form you want to display. See Finding my List ID

Template Syntax

Within an .SS template you can invoke a list in a similar way you would for the shortcode

Code:

Note: Change <<<YOUR LIST ID>>> to the ID of the form you want to display. See Finding my List ID

Caveat

Due to the way forms are being generated dynamically, and in order to maintain the functionality provided by Form you may only have one list per page. Having more will lead to validation issues and data handling issues. If you feel you can eliminate this caveat then we implore you to submit a PR

Finding my List ID

  1. Login to Vision6 dashboard and select "Lists and Forms" from the side menu
  2. Find the list you want the ID for and click the "Edit" button
  3. You can find the list ID in the address bar, eg for http://www.vision6.com.au/list/form/designer?id=377499 your list ID is 377499

Independent Form Field

This module comes with a SubscribeField which is based off CheckboxField the only difference is that the validator on this will actually check to see if an email is subscribed to a specific list.

A complete example for you to implement this yourself:

Then in your form handling function, which in the above example would be process simply

Contributing

If you feel you can improve this module in any way, shape or form please do not hesitate to submit a PR for review.

Bugs / Issues

To report a bug or an issue please use our issue tracker.

License

This module is distributed under the BSD-3 Clause license.


All versions of vision6 with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3,<7
silverstripe/cms Version ^3.4.0
silverstripe/framework Version ^3.4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package steadlane/vision6 contains the following files

Loading the files please wait ....