A proxy-application for symfony/flex composer plugin to allow use 3rd party/private recipes.
Clone the project
$ git clone git@github.com:aurimasniekis/flex-server.gitRun composer
$ composer installClone/Place your recipes inside /recipes folder.
$ git clone git@github.com:symfony/recipes.git ./recipesRun build job to build data files for API
$ bin/flex buildRun the server
$ php -S 127.0.0.1:8080 routing.phpModify your composer.json to use ur custom endpoint.
{
"extra": {
"symfony": {
"id": "01BNAS3890XQPHCYXQ127296J0",
"allow-contrib": false,
"endpoint": "http://127.0.0.1:8080",
}
}
}If you want to use a non https connection disable the secure-http option :
{
"config": {
"secure-http": false
}
}