go1 / rest
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 2 614
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 8
Forks: 8
Open Issues: 3
Requires
- php: ^7.2
- ext-json: *
- firebase/php-jwt: ^5.0
- nyholm/psr7: ^1.1.0
- php-di/slim-bridge: ^2.0
- php-http/message: ^1.7.2
- psr/http-client: ^1.0.0
- psr/simple-cache: ^1.0.1
- slim/slim: ^3.12.0
- symfony/console: ^v4.2.3
- symfony/http-client: ^v4.3.5
- symfony/http-client-contracts: ^1.1.6
- symfony/var-dumper: ^v4.3.2
Requires (Dev)
- beberlei/assert: ^3.2.0
- doctrine/dbal: ^2.9.2
- elasticsearch/elasticsearch: ^5.4.0
- justinrainbow/json-schema: ^5.2.8
- phpunit/phpunit: ^8.0
- symfony/cache: ^v4.2.4
- symfony/yaml: ^v4.2.3
Suggests
- php-amqplib/php-amqplib: ^2.6.0
This package is auto-updated.
Last update: 2024-05-14 01:30:41 UTC
README
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 git@github.com:go1com/rest.git
cd rest
COMPOSER=composer-cli.json composer install --no-dev -vvv
cp rest-cli.php index.php
phar-composer build ./ -v