Symfony project with HttplugBundle installed
Branch: master
Clone or download
Latest commit d1b549f Jan 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin httplug demo project Jan 24, 2019
config
public
src httplug demo project Jan 24, 2019
templates httplug demo project Jan 24, 2019
tests httplug demo project Jan 24, 2019
.env httplug demo project Jan 24, 2019
.env.test httplug demo project Jan 24, 2019
.gitignore httplug demo project Jan 24, 2019
README.md httplug demo project Jan 24, 2019
composer.json httplug demo project Jan 24, 2019
composer.lock httplug demo project Jan 24, 2019
phpunit.xml.dist httplug demo project Jan 24, 2019
symfony.lock

README.md

HTTPlug Demo

This is a small demo application to show HTTPlug in a Symfony project.

Setup

git clone
composer install
bin/console server:run

Now you have / for the synchronous request and /dashboard for the asynchronous requests.

Things to Note

This application has been created by running

 composer create-project symfony/website-skeleton my-project
 composer require http

And then editing config/packages/httplug.yaml to configure the plugins.

The controllers are in src/Controller/ and rely on autowiring.