Download the PHP package dotclang/auth-package without Composer
On this page you can find all versions of the php package dotclang/auth-package. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dotclang/auth-package
More information about dotclang/auth-package
Files in dotclang/auth-package
Package auth-package
Short Description Custom authentication Laravel with Tailwind UI
License MIT
Informations about the package auth-package
README
AuthPackage provides authentication views, controllers and routes for Laravel (login, register, password reset) using Tailwind-styled Blade templates.
Installation
- Require the package from Packagist:
Package on Packagist: https://packagist.org/packages/dotclang/auth-package
- If your app does not auto-discover the provider, register the service provider in
config/app.phpproviders array:
Publishing files
You can publish individual parts of the package using vendor:publish with the provider and tag.
-
Publish configuration (merged into
config('auth')): -
Publish views (into
resources/views/vendor/auth-package): -
Publish controllers (into
app/Http/Controllers/AuthPackage): -
Publish routes (copies package
routes/*.phpinto your approutes/): - Publish front-end assets (optional):
Install command (convenience)
The package provides a convenience installer command that publishes config, views, controllers and routes, and optionally assets. Usage:
Flags:
--assets— publish front-end assets non-interactively--force— overwrite any previously published files
Example (publish everything including assets, force overwrite):
Notes
- The package merges
config/auth.phpinto your appauthconfig soconfig('auth.password_timeout')will be available. - Views are loaded under the
auth-package::namespace; after publishing you can edit the views inresources/views/vendor/auth-package.