Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Eggert committed Mar 3, 2018
1 parent 24ad02a commit b951f10
Show file tree
Hide file tree
Showing 155 changed files with 15,583 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
# Created by .ignore support plugin (hsz.mobi)
html
vendor
phpunit.xml
24 changes: 24 additions & 0 deletions README.md
@@ -1,2 +1,26 @@
# phlexa

Build voice applications for Amazon Alexa with phlexa and PHP

## Dependencies

* PHP 7
* PHP Curl Extension
* cURL class for PHP
* URL Normalizer from Glen Scott
* Zend\Diactoros

## Installation

Install it in your PHP project simply with Composer:

```
composer require phoice/phlexa
```

## Usage

To get started with this library please refer to the Amazon Alexa Skill Skeleton:

https://github.com/phoice/phlexa-expressive-skeleton

41 changes: 41 additions & 0 deletions composer.json
@@ -0,0 +1,41 @@
{
"name": "phoice/phlexa",
"description": "Build voice applications for Amazon Alexa with phlexa and PHP",
"license": "MIT",
"type": "library",
"homepage": "https://www.phoice.tech/",
"config": {
"sort-packages": true
},
"require": {
"php": "^7.1",
"ext-curl": "*",
"curl/curl": "^1.6",
"glenscott/url-normalizer": "^1.4",
"psr/container": "^1.0",
"zendframework/zend-diactoros": "^1.4"
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"squizlabs/php_codesniffer": "^2.3"
},
"autoload": {
"psr-4": {
"Phlexa\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhlexaTest\\": "test/"
}
},
"scripts": {
"check": [
"@cs-check",
"@test"
],
"cs-check": "phpcs src/",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-html html/coverage/"
}
}

0 comments on commit b951f10

Please sign in to comment.