Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bonge-ian/fokit

A UIkit preset for Laravel Fortify with slight modern feel to it
https://github.com/bonge-ian/fokit

Last synced: about 2 months ago
JSON representation

A UIkit preset for Laravel Fortify with slight modern feel to it

Awesome Lists containing this project

README

        

# Introduction

**Fokit** is a Laravel Fortify UI preset, built with UIkit with a slight opinionative modern touch.

- [Requirements](#requirements)
- [Installation](#installation)

## Requirements

This package requires [*FortifyUI*](https://github.com/zacksmash/fortify-ui). Please, install that first before installing **Fokit**.


## Installation

To get started, you'll need to install **Fokit** using Composer.

```bash
composer require bonge-ian/fokit
```

Next, you'll need to run the install command:

If you use **Laravel Mix** then you will need to run this:

```bash
php artisan fortify:fokit
```

If you use **Vite** powered by Laravel's vite plugin the you will need to run this:

```bash
php artisan fortify:fokit --vite
```

This command will publish **Fokit's** views and resources to your project.

- All `auth` views
- a `BladeComponentServiceProvider.php` file
- a `webpack.mix.js` or `vite.config.js` file, tuned for UIkit, depending on which option you chose above
- a `package.json` file, for required NPM modules
- a slightly opinionated `.editorconfig` file
- a `.gitignore` file
- a new route for `user/profile`
- register `App\Providers\BladeComponentServiceProvider` in your application (`config/app.php`)

You may require to register `BladeComponentServiceProvider` in your `config/app.php` if the Fokit command doesnt register it.

```bash
App\Providers\BladeComponentServiceProvider::class,
```

The `BladeComponentServiceProvider` allows us to use [blade layout components](https://laravel.com/docs/9.x/blade#layouts-using-components)

## Credits

I give credit and thanks to [Zack Warren](https://github.com/zacksmash) for his awesome work in [*FortifyUI*](https://github.com/zacksmash/fortify-ui) and [*FortifyUIKit*](https://github.com/zacksmash/fortify-uikit) that has made it possible for the creation of this preset.

You may also checkout [*FortifyUIKit*](https://github.com/zacksmash/fortify-uikit).

## License

**Fokit** is open-sourced software licensed under the [MIT license](LICENSE.md).