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.git
Run composer
$ composer install
Clone/Place your recipes inside /recipes
folder.
$ git clone git@github.com:symfony/recipes.git ./recipes
Run build job to build data files for API
$ bin/flex build
Run the server
$ php -S 127.0.0.1:8080 routing.php
Modify 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
}
}