Download the PHP package newbury/alexa-framework without Composer

On this page you can find all versions of the php package newbury/alexa-framework. 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 alexa-framework

Alexa Skill Framework

Version: 0.1.1

I built this to make it simple to create Amazon Alexa skills using PHP. It handles the request verification, intent routing, provides some methods to get intent/slot information from the request and methods for building the response object to AVS.

To install:

Usage:

Replace amzn1.ask.skill.xxxxx... in config/skills.php with your alexa skill ID from the developer console. The config file can handle multiple skills by adding an additional array element for each skill. Under routes in the config file add an element under routes for each intent you have set in the Alexa developer console. For eample 'example' => \App\Example::class, the class \App\Example will have requests for your example intent routed to it. Create a class for each intent which extends \Newbury\AlexaFramework\Intent\BaseIntent. The execute() method will be called when an intent is routed to it.

The Request and Response objects are made available to your intent classes via $this->request and $this->response.

Methods in \Newbury\AlexaFramework\Http\Request are used to get information about the request such as slot data.

Methods in \Newbury\AlexaFramework\Http\Response are used to build the response. Most of these methods can be chained together.

You can also call the static method Newbury\AlexaFramework\Directive::sendDirective($this->request, 'Your message') to send "directive" responses if you need some time to build the main response.

Chagelog

[0.1.1] - 2018-Apr-13

All versions of alexa-framework with dependencies

PHP Build Version
Package Version
No informations.
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 newbury/alexa-framework contains the following files

Loading the files please wait ....