lucasdavies / textlocal-demo-app
This package is abandoned and no longer maintained.
No replacement package was suggested.
A demo app that demonstrates usage of the Textlocal service, written using Silex.
Package info
github.com/lucasdavies/textlocal-demo-app
Type:project
pkg:composer/lucasdavies/textlocal-demo-app
dev-master
2016-06-26 22:37 UTC
Requires
- doctrine/dbal: ^2.5
- lucasdavies/textlocal-silex-provider: dev-master
- robmorgan/phinx: ^0.6.2
- silex/silex: ^2.0
- symfony/twig-bridge: ^3.1
- twig/twig: ^1.24
- vlucas/phpdotenv: ^2.3
Requires (Dev)
- symfony/var-dumper: ^3.1
This package is not auto-updated.
Last update: 2020-02-07 16:09:56 UTC
README
A simple Silex app that demonstrates the integration of the Textlocal API.
Developed locally on OS X running Laravel Valet and PHP 7, this super simple demo app makes use of the Silex microframework (v2) and a two-table SQLite database.
Utilises the following packages and libraries:
- PHP Dotenv - For environment variable configuration, specifically the Textlocal configuration
- Doctrine DBAL - For a very basic SQLite database
- Twig - Front end templating engine
- Textlocal Service Provider - Built for this demo, a Silex-specific service provider to expose the Textlocal API
- Phinx - For database migrations
- Symfony VarDumper Component - For basic output debugging
Installation
composer create-project lucasdavies/textlocal-demo-app -s dev
Update .env with your Textlocal credentials.
TEXTLOCAL_USERNAME="xxxxxx"
TEXTLOCAL_HASH="xxxxxx"
TEXTLOCAL_APIKEY="xxxxxx"