ycore/fortify-unstyled

Un-styled authentication blade views for ycore/fortify-ui

v1.2.2 2020-11-07 12:36 UTC

This package is auto-updated.

Last update: 2024-04-07 21:48:37 UTC


README

fortify-banner.svg

Introduction

Fortify-unstyled provides authentication UI views for FortifyUI, with no styling and only minimum markup. Use it to style your own authentication UI or fork it to create an authentication UI styling package for your frontend library or framework of choice.

Latest Version on Packagist

Installation

  1. To get started, install Fortify-unstyled using Composer.
$ composer require ycore/fortify-unstyled

This command initializes FortifyUI and publishes the Fortify-unstyled authentication views and scaffolding.

  • Publishes authentication blade views to resources/views/
  • Appends a home route to routes/web.php
  • Enables the login and register Laravel Fortify features

This package and FortifyUI both utilize package auto-discovery. There is no need to add the service providers manually.

  1. Next, publish the Fortify-unstyled authentication views and scaffolding:
$ php artisan fortify-ui:unstyled

Fortify-unstyled installs a sensible default configuration based on the Laravel Fortify recommendations. 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.

Installation options

Fortify-unstyled is designed to be re-installed. Use the --force or --views-only options to overwrite previously-installed views or scaffolding.

Overwrite all previously installed views and scaffolding

$ php artisan fortify-ui:unstyled --force

Overwrite all previously installed views only

$ php artisan fortify-ui:unstyled --views-only

More configuration options

FortifyUI also provides more configuration options via the fortify-ui:publish command. See the FortifyUI configuration section for details on publishing additional configuration options.

How the FortifyUI un-styled views were created.

The Fortify-unstyled views were created by cloning stubs from Fortify-tailwind, then regexp-stripping the class="" attributes from all html tags using vscode find-replace.

    search: [\n| ]*class="[^"]*?"

Changelog

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

Security

Should you discover any security-related issues, please email y-core@outlook.com instead of using the issue tracker.

Credits

License

MIT. Please see the License file for more information.