Download the PHP package reiterus/microapi-core without Composer
On this page you can find all versions of the php package reiterus/microapi-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package microapi-core
MicroAPI Core
MicroApi Core is an ultra-lightweight, tiny engine based on Symfony packages. It is intended for building small REST API applications. Since MicroApi is based on the Symfony architecture, it can be developed to any level of complexity if desired. Forming your application based on this engine, you will always be sure that there is nothing superfluous in your code.
Features of MicroApi Core out of the box:
- all endpoints are public
- loading all types of env files
- use of attributes
- only two configuration files
- use autoload_runtime.php
- minimum php version: 8.1
- Docker
- JSON response to an exception
- Makefile
- quality tools
- PHP CS Fixer
- PHPStan
Join the development of MicroApi!
Usage
It's very simple! Just run these two commands:
composer create-project reiterus/microapi-core folder && cd folder
make docker-start
That's all!
Now your API app is available at http://localhost:8008
Engine progress
Makefile commands
For the convenience of working with the project, there are several make-commands: local and for Docker.
See more...
#### Local - make phpunit: run `./vendor/phpunit/phpunit/phpunit` - make phpfixer: run `./vendor/bin/php-cs-fixer fix` - make phpstan: run `./vendor/bin/phpstan analyse` - make server: run `cd public/ && php -S 127.0.0.1:8008` - make remover: run `rm -rf var/ && rm -rf vendor/` #### Docker - make docker-start: run `docker-compose up -d --build && docker-compose exec api composer install` - make docker-restart: run `rm -rf var/ && rm -rf vendor/ && docker-compose up -d --build && docker-compose exec api composer install` - make docker-build: run `docker-compose up -d --build` - make docker-install: run `docker-compose exec api composer install` - make docker-down: run `docker-compose down` - make docker-rm: run `docker rm $(docker ps -aq) -f` - make docker-rmi: run `docker rmi $(docker images -aq) -f`Installation
You can install the project in two ways
From packagist.org
From GitHub repository
License
This library is released under the MIT license.
All versions of microapi-core with dependencies
symfony/config Version ^6.2
symfony/http-kernel Version ^6.2
symfony/http-foundation Version ^6.2
symfony/routing Version ^6.2
symfony/dependency-injection Version ^6.2
symfony/framework-bundle Version ^6.2
symfony/browser-kit Version ^6.2
symfony/yaml Version ^6.2
symfony/dotenv Version ^6.2
symfony/runtime Version ^6.2