Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 994 Bytes

README.md

File metadata and controls

62 lines (44 loc) · 994 Bytes

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