Download the PHP package worldia/textmaster-bundle without Composer
On this page you can find all versions of the php package worldia/textmaster-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download worldia/textmaster-bundle
More information about worldia/textmaster-bundle
Files in worldia/textmaster-bundle
Package textmaster-bundle
Short Description A Symfony2 bundle integrating textmaster-api
License proprietary
Homepage https://github.com/worldia/textmaster-bundle
Informations about the package textmaster-bundle
TextmasterBundle
A Symfony2 bundle integrating textmaster-api.
Installation
Step 1: Download TextmasterBundle using composer
Require the bundle with composer:
Step 2: Enable the bundle
Enable the bundle in the kernel:
Step 3: Configure the bundle
Step 4: Add route
The translation manager is using the callback routes.
Additional installation
Configuration
By default, the translator provider used is the ArrayBasedMappingProvider. You can easily configure it as followed:
There is a template provided for each route. You can override it easily with configuration:
Route
You can optionally add object routing files.
If you do you will need white-october/pagerfanta-bundle to display pager on list page.
Usage example
Create a project with documents:
API callback
The bundle provide a controller with a route to catch API callback.
This will call textmaster-api Handler to raise en event corresponding to the right object depending on its status.
Then a listener (DocumentListener or ProjectListener) will catch this event and act accordingly.
For example, an event for 'textmaster.document.in_review' will get the job related to the document and finish it.
All versions of textmaster-bundle with dependencies
worldia/textmaster-api Version ^1.0
symfony/framework-bundle Version ^3.2|^4.0
symfony/property-access Version ^3.2|^4.0
symfony/validator Version ^3.2|^4.0
symfony/security-csrf Version ^3.2|^4.0
symfony/form Version ^3.2|^4.0
doctrine/orm Version ^2.5
doctrine/doctrine-bundle Version ^1.5