Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aurimasniekis/flex-server
The Symfony.sh proxy with custom recipes for use instead of original endpoint
https://github.com/aurimasniekis/flex-server
Last synced: 2 months ago
JSON representation
The Symfony.sh proxy with custom recipes for use instead of original endpoint
- Host: GitHub
- URL: https://github.com/aurimasniekis/flex-server
- Owner: aurimasniekis
- Created: 2017-07-09T15:55:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T13:45:23.000Z (over 3 years ago)
- Last Synced: 2023-03-22T05:16:32.245Z (almost 2 years ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 59
- Watchers: 8
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Symfony Flex Server
A proxy-application for [```symfony/flex```](https://github.com/symfony/flex) composer plugin to allow use 3rd party/private recipes.
![Screenshoot](http://i.imgur.com/xC74kAf.png)
## Install
Clone the project
```sh
$ git clone [email protected]:aurimasniekis/flex-server.git
```Run composer
```sh
$ composer install
```Clone/Place your recipes inside `/recipes` folder.
```sh
$ git clone [email protected]:symfony/recipes.git ./recipes
```Run build job to build data files for API
```sh
$ bin/flex build
```Run the server
```sh
$ php -S 127.0.0.1:8080 routing.php
```## Usage
Modify your `composer.json` to use ur custom endpoint.
```json
{
"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 :
```json
{
"config": {
"secure-http": false
}
}