Download the PHP package kowada-gmbh/auth-bundle without Composer

On this page you can find all versions of the php package kowada-gmbh/auth-bundle. 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 auth-bundle

Kowada Auth Bundle

CI PHP Symfony

Shared Symfony bundle that adds account-status gating, login tracking, and login/logout flash messages to your own User entity.

The bundle is maintained here as a versioned Composer dependency and pulled into individual Symfony projects via composer update kowada-gmbh/auth-bundle.

Installation

The package is public on Packagist (the source itself stays proprietary, only the distribution is public) and can be required as a regular dependency:

Features

All classes under Kowada\AuthBundle\ are automatically registered as services via autowiring/autoconfiguration (see config/services.yaml).

Login/logout behavior is wired to your own User entity via interfaces, instead of requiring a bundle-owned User class.

Configuration in the consuming project:

  1. Your own User entity must implement the interfaces you want to use. Both are independent of each other — an interface that isn't implemented is simply skipped via an instanceof check, nothing happens in that case:

  2. Register UserChecker on the relevant firewall in security.yaml:

  3. LoginSuccessSubscriber/LogoutSubscriber are event subscribers and become active without further configuration. A session-based firewall (FlashBagAwareSessionInterface) is assumed — with stateless APIs the flash messages simply have no effect, but no error occurs either.

Translations

All text goes through the Symfony translator, domain kowada_auth (en). Translations are loaded automatically — symfony/translation is required by this bundle, which makes FrameworkBundle enable its translator (framework.translator) by default, so no further configuration is needed. Individual keys can be overridden in the consuming project by creating a same-named translations/kowada_auth.<locale>.yaml file there.

Development


All versions of auth-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
doctrine/doctrine-bundle Version ^2.18 || ^3.0
doctrine/orm Version ^3.3
symfony/config Version ^7.4 || ^8.0
symfony/dependency-injection Version ^7.4 || ^8.0
symfony/framework-bundle Version ^7.4 || ^8.0
symfony/http-foundation Version ^7.4 || ^8.0
symfony/http-kernel Version ^7.4 || ^8.0
symfony/security-bundle Version ^7.4 || ^8.0
symfony/translation Version ^7.4 || ^8.0
symfony/yaml Version ^7.4 || ^8.0
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 kowada-gmbh/auth-bundle contains the following files

Loading the files please wait ...