Download the PHP package tomatophp/filament-accounts-auth without Composer

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

Screenshot

Filament Accounts Builder Auth

Latest Stable Version License Downloads

A fork of DevDojo Auth with RTL and translation support that authenticates the accounts of Filament Accounts Builder on the accounts guard. The pages are built with Laravel Folio and Livewire Volt.

Screenshots

Login Register Reset Password

Compatibility

Version Laravel Livewire Filament PHP Branch
5.x 12.x / 13.x 4.x (Volt 1.10+) 5.x 8.2+ master
1.x 11.x / 12.x 3.x 3.x 8.2+ v1

[!IMPORTANT] This package keeps the Devdojo\Auth namespace of the original package, so it cannot be installed next to devdojo/auth. Composer refuses to install both (conflict: devdojo/auth). Remove devdojo/auth before you require this package.

Requirements

Installation

Publish the prebuilt assets (required, they are loaded from public/auth), the config files and the migrations:

Optional tags: auth:components (the page elements, to restyle them), views (all views) and auth:ci (a GitHub workflow).

The migrations create the social_provider_user table, make accounts.password and accounts.name nullable (accounts created with a social provider have no password) and add the two_factor_secret, two_factor_recovery_codes and two_factor_confirmed_at columns to accounts. Run them:

Finally, your account model has to extend Devdojo\Auth\Models\User, which adds the social provider relations and the two factor helpers. Publish the Filament Accounts model:

then change its parent class and keep its interfaces and traits:

Point both filament-accounts.model and auth.providers.accounts.model to that model.

Pages

Page URL
Login /auth/login
Register /auth/register
Verify email /auth/verify
Forgot password /auth/password/reset
Reset password /auth/password/{token}
Confirm password /auth/password/confirm
Two factor challenge /auth/two-factor-challenge
Two factor setup /user/two-factor-authentication
Logout /auth/logout
Auth setup /auth/setup, /auth/setup/appearance, /auth/setup/providers, /auth/setup/language, /auth/setup/settings

/login and /register redirect to the auth pages. Social login uses /auth/{driver}/redirect and /auth/{driver}/callback.

Setup pages

The /auth/setup/* pages change the appearance, social providers, language lines and settings by writing the published config files in config/devdojo/auth. They are guarded by the view-auth-setup middleware: they are open when APP_ENV=local, otherwise only when the viewAuthSetup gate allows the current user. Everyone else is redirected to the login page.

Do not open these pages on a public or shared environment.

Translations

The page texts come from config/devdojo/auth/language.php, which the setup Language page edits. To translate them, add lang/vendor/devdojo-auth/{locale}/language.php with the same keys, for example:

Pages are rendered right-to-left when the app locale is ar.

Assets

The pages load the prebuilt public/auth/build assets. To work on the package CSS and JS with Vite, set dev_mode to true in config/devdojo/auth/settings.php and add the package files to your Vite inputs.

(Optional) HasSocialProviders

Devdojo\Auth\Models\User already uses the HasSocialProviders trait. If your model extends another class, use the trait directly:

Testing

The Dusk tests in tests/Browser need a running Chrome driver and a full application, so they are not part of the default suite.

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-accounts-auth with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
bacon/bacon-qr-code Version ^3.0
calebporzio/sushi Version ^2.5
codeat3/blade-phosphor-icons Version ^2.3
devdojo/config-writer Version ^0.0.7
filament/filament Version ^5.0
illuminate/support Version ^12.0|^13.0
laravel/folio Version ^1.1
laravel/socialite Version ^5.20
livewire/livewire Version ^4.0
livewire/volt Version ^1.10
pragmarx/google2fa Version ^8.0|^9.0
tomatophp/filament-accounts Version ^5.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 tomatophp/filament-accounts-auth contains the following files

Loading the files please wait ...