Download the PHP package ycore/fortify-ui without Composer

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

FortifyUI: Laravel Fortify-powered authentication UI

Introduction

FortifyUI connects the robust authentication features of the Laravel Fortify headless authentication backend with easy-to-install authentication UI.

It provides a simple and comprehensive authentication scaffold. It can also ease the upgrade path for existing projects wishing to move from Laravel UI to the Laravel Fortify authentication provider.

Requirements

FortifyUI requires Laravel 8.0+. See Upgrading Laravel if necesarry

Latest Version on Packagist

Installation

FortifyUI provides a headless implementation of the Laravel Fortify authentication backend, following the recommendations outlined in the Laravel Fortify documentation.

Authentication views and scaffolding are implemented using FortifyUI-designed or community-contributed frontend packages. FortifyUI doesn't need to be installed seperately. Installing an authentication frontend package, also installs FortifyUI.

Select a FortifyUI authentication frontend to install
Follow the Fortify-tailwind installation instructions to install the tailwindcss-styled authentication UI
Follow the Fortify-unstyled installation instructions to install a completely un-styled authentication UI

You can design your own authentication UI for your frontend library or framework of choice. The Fortify-unstyled package would be an ideal front-end starter to fork.

If you design an authentication front-end for FortifyUI that the community could benefit from, please let us know, and we'd be happy to include reference to it here.

Post-install configuration options

The post-installation configuration options become available once you've installed an authentication frontend package.

The default installation provides sensible configuration defaults. The login, logout, registration and reset-passwords features and routes are enabled by default. If these defaults are sufficient, there is no need for additional configuration.

FortifyUI provides some granular configuration options to customize features, locations and behaviour. The fortify-ui:publish artisan command essentially combines multiple vendor:publish --tag behaviours and conflict-checking to simplify publishing configuration overrides.

:information_source:  Show the post-installation configuration options using:

Enabling features

The following features are enabled in config/fortify.php using the default installation.

Features can be enabled or disabled editing the config/fortify.php file post-install. See Fortify Features for additional configuration options.

See Two factor authentication on the additional requirements when two factor authentication is enabled.

Two factor authentication

The two factor authentication feature can be enabled in config/fortify.php. The FortifyUIServiceProvider registers the view automatically once the feature is enabled in the config file.

Two factor authentication requires migration of additional fields to the database and additions to the User Model.

Publishing Fortify migrations

Adding the TwoFactorAuthenticatable trait

Add the TwoFactorAuthenticatable trait and hidden fields to app/Models/User.php

Publishing the Laravel Fortify configuration

Overwrites the config/fortify.php published during the intial installation with the default configuration provided by Laravel Fortify. See the Laravel Fortify documentation for additional configuration options.

Publishing the FortifyUI configuration

Publishing config/fortify-ui.php allows customising the view locations.

The views section can be used to customize view locations.

Publishing the FortifyUI service provider

Publishing the FortifyUIServiceProvider allows customising many of the actions and view locations for enabled Fortify features.

Publishes the app/Providers/FortifyUIServiceProvider file and registers it within the providers array of your app configuration file.

The kitchen sink

Publishes all the configuration and provider options for both FortifyUI and Laravel Fortify.

Questions?

Is this a replacement for Laravel Jetstream?

While both FortifyUI and Laravel Jetstream utilizes Laravel Fortify, Jetstream provides both substantial additional functionality and additional scaffolding options, including Laravel Livewire and Intertia, which FortifyUI does not aim to replicate or replace. FortifyUI does however follow the basic recommendations from the Laravel Fortify documentation for implementing an authentication UI scaffold without much of the additional scaffolding.

Can it be used to replace Laravel UI?

Laravel UI has been the de-facto simple Laravel authentication UI scaffold for many development projects, but doesn't include many of the Laravel Fortify features. Laravel UI has been through many iterations and has often been tightly integrated. It would be diffcult to comprehensive predict all upgrade scenarios.

FortifyUI was however created and have been used to migrate some of our internal and client projects from Laravel UI to a Laravel Fortify-based authentication implementation. Many of the granular configuration options exist because we needed them for both new installations and while migrating.

What are the other options?

It is possible to follow the relatively straightforward Laravel Fortify documentation to implement your own authentication UI scaffold - like we did.

Zack Warren published a package with largely similar functionality and a somewhat different design. We may possibly have used that ourselves had we discovered it earlier.

If you are aware of more alternatives, or you create a custom UI scaffolding package that utilizes FortifyUI, please let us know.

Changelog

Please see the Changelog for more information on what has changed recently.

Contributing

Please see Contributing for details.

Security

Should you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

License

MIT. Please see the License file for more information.


All versions of fortify-ui with dependencies

PHP Build Version
Package Version
Requires laravel/fortify Version ^1.6
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 ycore/fortify-ui contains the following files

Loading the files please wait ....