Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bonge-ian/fokit
- Owner: bonge-ian
- License: mit
- Created: 2021-05-26T12:17:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-10T14:28:57.000Z (over 1 year ago)
- Last Synced: 2024-04-24T18:09:27.980Z (9 months ago)
- Language: Blade
- Size: 536 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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**.
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).