The Hydra issue tracker demo
This package is auto-updated.
Last update: 2023-11-25 18:45:39 UTC
This document contains information on how to download, install, and start using Hydra with Symfony.
- Installing the Hydra Issue Tracker Demo
The recommended way to install the Hydra Issue Tracker demo is to use Composer.
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then, use the
create-project command to generate a new Hydra application:
php composer.phar create-project -s dev ml/hydra-demo-app path/to/install
Composer will install Symfony, the HydraBundle, and all the dependencies
Finally you need to create the database (unless it exists already) using
php app/console doctrine:database:create
and generate the tables used by the Hydra demo app
php app/console doctrine:schema:create
- Checking your System Configuration
Before starting coding, make sure that your local system is properly configured for Symfony.
check.php script from the command line:
config.php script from a browser:
If you get any warnings or recommendations, fix them before moving on.
- Browsing the Demo Application
Congratulations! You're now ready to use the Hydra demo app.
config.php page, click the "Bypass configuration and go to the
Welcome page" link to load up the homepage providing more information about
the demo app.
You can also use a web-based configurator by clicking on the "Configure your
Symfony Application online" link of the
To see Hydra in in action, access the following page:
Please note that it will return JSON-LD so you might wanna access it using cURL or the Hydra Console.
- Getting Started
This distribution is meant to be the starting point for your Hydra-powered Web APIs, but it also contains some sample code that you can learn from and play with.
If you are not familiar with Symfony yet, you may wanna get up to speed with the Quick Tour that will take you through all the basic features of Symfony2. Once you're feeling good, you can move onto reading the official Symfony2 book.
A default bundle,
MLDemoBundle, shows you Symfony2 and Hydra in action.
After playing with it, you can remove it by following these steps:
remove the routing entries referencing DemoBundle in
remove the MLDemoBundle from the registered bundles in
security.firewalls.mainentries in the
security.ymlfile or tweak the security configuration to fit your needs.