Download the PHP package laravelui5/auth without Composer

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

laravelui5/auth

Password + session authentication for LaravelUi5 apps, with a UI5 frontend.

It ships a self-contained UI5 login mini-app (login, logout, forgot/reset password) driven through LaravelUi5 Core, on top of Laravel's standard Auth and Password brokers — plus an intent system for sequencing post-login steps (e.g. org onboarding) before the user reaches their destination.

Requirements

Installation

The service provider (LaravelUi5\Auth\AuthServiceProvider) is auto-discovered via extra.laravel.providers — no manual registration. On boot it loads the package routes, registers the UI5 AuthModule with Core's infrastructure collector, and points Laravel's password-reset notification at the package's password.reset route.

What it provides

Routes (all under the web middleware group):

Method URI Name Notes
GET /login login Redirects to the UI5 auth app (guest only)
POST /auth/login login.submit Email + password sign-in, rate-limited
POST /auth/forgot-password password.email Enumeration-safe reset request
GET /password/reset/{token} password.reset Pre-validates the token, then redirects to the UI5 set-password view
POST /auth/reset-password password.update Sets the new password
POST /logout logout Drops the session (auth only)
POST /auth/intents/org-setup auth.intents.org_setup Satisfies the OrgSetup intent (auth only)

Login is throttled (5 attempts → Lockout), the session is regenerated on success, and forgot-password responses are identical whether or not the email exists.

What the host must provide

The package ships the routes above, but it redirects to named routes it does not define — your app must provide them. Two are effectively required:

Name Used by Required? If missing
home LogoutController — every logout ends with redirect()->route('home') Yes logout throws RouteNotFoundException (HTTP 500)
dashboard DefaultIntentDispenser — the default post-login landing Yes, unless you bind your own IntentDispenserInterface that never falls back to it (see Post-login redirects) login throws RouteNotFoundException right after credentials validate

Three further routes are optional — the login UI renders a footer link for each only when the route exists (each is guarded by Route::has()), so leaving them undefined is safe:

Name Footer link
terms Terms of service
privacy Privacy policy
cookies Cookie policy

Minimal host wiring:

Post-login redirects

After credentials are validated, the package asks an IntentDispenserInterface what to do next. It is called once after login and again after each intent is satisfied, until it returns a terminal RedirectIntent.

The default, DefaultIntentDispenser, returns:

So out of the box, a user is sent to their intended URL or to route('dashboard'). Override by binding your own dispenser:

Intents (multi-step onboarding)

A dispenser can return non-terminal intents to interrupt login with extra steps. The intent catalog is closed — kinds are added to the package deliberately. Two kinds ship today:

OrgSetupIntent requires the host to bind an OrgSetupHandlerInterface; the package ships no default, so dispensing it without a handler fails loud at request time (by design — the step needs host-side state coordination). A handler returns an IntentResult: satisfied(), needsMoreInput($payload), or error($errors).

License

MIT — see LICENSE.

Changelog

See CHANGELOG.md.


About this repository

This repo is the canonical published distribution of laravelui5/auth — the PHP source here is a faithful, content-identical copy of upstream, so it's the right place to read the code, consume the package, and file issues.

It is not where development happens. It's generated by an automated splitsh-lite sub-split from the LaravelUi5 workspace, and its branch history is force-replaced on every release — pull requests opened here won't survive. Two further caveats for would-be contributors:

Code changes are integrated upstream, not merged here.


All versions of auth with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
laravelui5/core Version ^2.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 laravelui5/auth contains the following files

Loading the files please wait ...