Download the PHP package componentk/shopware6-admin-auto-login without Composer

On this page you can find all versions of the php package componentk/shopware6-admin-auto-login. 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 shopware6-admin-auto-login

CKOU Admin Auto Login

Auto‑login override for the Shopware 6 Administration login page, intended for local development only.

What It Does

Requirements

Install & Activate

Usage

The plugin provides seamless auto-login for both standard admin access and the admin watcher (Vite dev server).

Recommended Workflow (Admin Watcher)

The plugin automatically handles everything! Just use port 8000 URLs:

Simple access:

Deep links (hash/path preserved):

Pro tip: Bookmark your favorite admin URLs as localhost:8000/admin#/path and they'll automatically redirect to the watcher!

Direct Watcher Access (After First Visit)

Once you've visited localhost:8000/admin once in your browser session, you can use watcher URLs directly:

Standard Admin (No Watcher)

If the admin watcher is not running, the plugin works as a simple auto-login:

How It Works

Simple and clean pure PHP backend approach:

  1. Intercepts /admin Requests:

    • Listens for GET requests to /admin path
    • Issues OAuth tokens using admin / shopware credentials
    • Sets bearerAuth cookies for localhost domain (works on all ports)
  2. Admin Watcher Detection:

    • Reads ADMIN_PORT environment variable (defaults to 5173)
    • Tests if admin watcher is running by checking port accessibility
    • If detected, generates HTML redirect; otherwise, standard HTTP redirect
  3. Hash Preservation:

    • Uses client-side JavaScript to read window.location.hash
    • Redirects to watcher URL with hash intact
    • Deep links work perfectly: localhost:8000/admin#/sw/customer/...localhost:5173/#/sw/customer/...
  4. Cookie Compatibility:
    • SameSite=LAX allows cookies across different ports
    • Once set, cookies persist for both :8000 and :5173
    • No additional API calls or user action required

Safety Note

Uninstall

License


All versions of shopware6-admin-auto-login with dependencies

PHP Build Version
Package Version
Requires shopware/core Version ~6.7.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 componentk/shopware6-admin-auto-login contains the following files

Loading the files please wait ...