jyil / slim-api
A Slim Framework skeleton application for rapid development
1.0.2
2019-04-09 03:51 UTC
Requires
- php: >=7.2.0
- bandwidth-throttle/token-bucket: ^2.0
- doctrine/migrations: ^2.0
- illuminate/database: ^5.8
- illuminate/pagination: ^5.8
- lcobucci/jwt: ^3.2
- medz/cors: ^1.4
- monolog/monolog: ^1.17
- overtrue/wechat: ~4.1
- predis/predis: ^1.1
- ramsey/uuid: ^3.8
- slim/php-view: ^2.0
- slim/slim: ^3.1
- symfony/yaml: ^4.2
- zircote/swagger-php: ^3.0
Requires (Dev)
- phpunit/phpunit: >=4.8 < 6.0
This package is auto-updated.
Last update: 2024-12-29 04:16:26 UTC
README
QUICK START
composer install
cp configurations/settings-development.yml configurations/settings.yml
docker-compose up -d
Phpunit
./vendor/bin/phpunit
Browse
ip:8080
Swagger
./vendor/bin/openapi src -o public --format json
ip:8890
API_URL: ip:8890/api/swagger
Doctrine Migrations
./vendor/bin/doctrine-migrations generate
./vendor/bin/doctrine-migrations migrations:migrate
TODO
- Jwt
- Eloquent
- Swagger
- Doctrine Migrations
- socialite(wechat, ....)
- predis
- token bucket