Skip to content
The Symfony.sh proxy with custom recipes for use instead of original endpoint
PHP
Branch: master
Clone or download
aurimasniekis Merge pull request #4 from glynnforrest/show-json-errors
Show the json error when a manifest file can't be parsed
Latest commit 1f40ac7 Dec 29, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Initial Commit Jul 18, 2017
data Initial Commit Jul 18, 2017
public Initial Commit Jul 18, 2017
recipes
src Show the json error when a manifest file can't be parsed Dec 9, 2017
.gitignore
README.md
composer.json
routing.php

README.md

Symfony Flex Server

A proxy-application for symfony/flex composer plugin to allow use 3rd party/private recipes.

Screenshoot

Install

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

Usage

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
    }
}
You can’t perform that action at this time.