aurimasniekis / flex-server

The Symfony.sh proxy with custom recipes for use instead of original endpoint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
    }
}

About

The Symfony.sh proxy with custom recipes for use instead of original endpoint


Languages

Language:PHP 100.0%