Download the PHP package arkecosystem/fortify without Composer

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

Laravel Fortify

Authentication Scaffolding for Laravel. Powered by Laravel Fortify.

Installation

  1. Require with composer: composer require arkecosystem/fortify
  2. Publish all the assets / views with php artisan vendor:publish --provider="ARKEcosystem\Fortify\FortifyServiceProvider" --tag=config --tag=images.
  3. Disable auto-discovery for all fortify packages. This step is required so that we can control the loading order of laravel/fortify and arkecosystem/fortify.

  4. Required Image

Projects require an image to be provided: resources/images/auth/verify-email.svg

This is omitted from fortify to prevent it being overwritten, but allows for it to be customised per project.

In the future, a config file may be a better route if there are multiple instances of images being required.

  1. Register the service providers in this exact order. This will ensure that our package can overwrite any bindings that laravel/fortify created.

  2. Enable or disable the login/register with username or email by using the username_alt setting in the config/fortify.php file

Note: If you use the username_alt setting, you need to ensure that your users table has that column.

Note: Currently fortify is intended to be used with 'username' => 'email' in your config, as it expect the email property to be set when creating a new user.

  1. Register databags in your AppServiceProvider that are used by the auth pages

Two Factor Authentication

Under the hood we use Pragmarx Google2fa-laravel package.

For custom configuration like generating QR-Code using SVG render instead of a default Imagemagick, you can publish the default configuration and adjust it as per your needs.

  1. Add file download JS to Mix file

  2. Include file on any page that needs it (e.g. Account Settings)

  3. Build assets

Required images

Password Confirmation modal

The password confirmation modal requires an image to be added to to the path resources/images/auth/confirm-password.svg for the projects that use it.


All versions of fortify with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
arkecosystem/ui Version ^5.0
danharrin/livewire-rate-limiting Version ^0.3.0
illuminate/support Version ^8.0
jenssegers/agent Version ^2.6
laravel/fortify Version ^1.8
livewire/livewire Version ^2.6
pragmarx/google2fa-laravel Version ^1.3
spatie/laravel-medialibrary Version ^9.7
spatie/laravel-newsletter Version ^4.10
spatie/laravel-personal-data-export Version ^3.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 arkecosystem/fortify contains the following files

Loading the files please wait ....