Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 703 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 703 Bytes

RESTful service builder Build Status

Base on slim 3.x

Install

composer require go1/rest:dev-master

# To use CLI
composer require symfony/console:^v4.2.3 symfony/yaml:^v4.2.3

CLI

Usage

php vendor/bin/rest-cli.php composer > composer.json
php vendor/bin/rest-cli.php docker-compose > docker-compose.yml

Build phar file

# Install https://github.com/clue/phar-composer
git clone [email protected]:go1com/rest.git
cd rest
COMPOSER=composer-cli.json composer install --no-dev -vvv
cp rest-cli.php index.php
phar-composer build ./ -v