Download the PHP package reiterus/microapi-secure without Composer

On this page you can find all versions of the php package reiterus/microapi-secure. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package microapi-secure

MicroApi Secure

MicroApi Secure is a small engine for creating application APIs based on Symfony packages, which is a development of MicroApi Core and contains security tools. 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 Secure out of the box

See also core features.

Join the development of MicroApi!

Usage

It's very simple! Just run these two commands:

That's all!
Now your API app is available at http://localhost:8009

JWT

To get JWT-token just send http-request to endpoint. For example, /admin.

To check/decode this token send request to jwt/decode endpoint.

JWT-token structure:

Logger

Makefile commands

For the convenience of working with the project, there are several make-commands: local and for Docker.

Examples

Default response at /admin endpoint

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-secure with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
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
symfony/security-bundle Version ^6.2
firebase/php-jwt Version ^6.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package reiterus/microapi-secure contains the following files

Loading the files please wait ....