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

https://github.com/ajaycalicut17/meadow

Meadow is a laravel package used for instant admin panel
https://github.com/ajaycalicut17/meadow

admin alpinejs auth authentication dashboard laravel laravel-admin laravel-admin-panel laravel-adminpanel laravel-application laravel-fortify laravel-starter starter starter-kit starter-template tailwind tailwindcss windmill-dashboard

Last synced: 2 months ago
JSON representation

Meadow is a laravel package used for instant admin panel

Awesome Lists containing this project

README

          

# Meadow
[![Packagist Downloads](https://img.shields.io/packagist/dt/ajaycalicut17/meadow)](https://packagist.org/packages/ajaycalicut17/meadow)
[![Packagist Version](https://img.shields.io/packagist/v/ajaycalicut17/meadow)](https://packagist.org/packages/ajaycalicut17/meadow)
[![Packagist License](https://img.shields.io/packagist/l/ajaycalicut17/meadow)](https://packagist.org/packages/ajaycalicut17/meadow)

Meadow is a laravel package used for instant admin panel.

## Important
This package should only be installed into new Laravel applications. Attempting to install into an existing Laravel application will result in unexpected behavior and issues.

## Installation

You can install the package via composer:

``` bash
composer require ajaycalicut17/meadow --dev
```

Run artisan command for installation:

``` bash
php artisan meadow:install
```

Run npm

``` bash
npm install && npm run dev
```

Database migration

``` bash
php artisan migrate
```

Create a new user account using:
``` bash
php artisan make:meadow-user
```

## Features

- [Authentication](https://laravel.com/docs/fortify#authentication)
- [Two Factor Authentication](https://laravel.com/docs/fortify#two-factor-authentication)

Enable two factor authentication feature in config/fortify.php
```code
Features::twoFactorAuthentication([
'confirm' => true,
'confirmPassword' => true,
]),
```
Ensure App\Models\User model uses the Laravel\Fortify\TwoFactorAuthenticatable trait.
```code
use Laravel\Fortify\TwoFactorAuthenticatable;

class User extends Authenticatable
{
use TwoFactorAuthenticatable;
```

- [Registration](https://laravel.com/docs/fortify#registration)
- [Password Reset](https://laravel.com/docs/fortify#password-reset)
- [Email Verification](https://laravel.com/docs/fortify#email-verification)

Enable email verification feature in config/fortify.php
```code
Features::emailVerification(),
```
Ensure App\Models\User class implements the Illuminate\Contracts\Auth\MustVerifyEmail interface.
```code
use Illuminate\Contracts\Auth\MustVerifyEmail;

class User extends Authenticatable implements MustVerifyEmail
{
```
To specify that a route or group of routes requires that the user has verified their email address, you should attach verified middleware to the route.
```code
Route::view('/home', 'home.index')->name('home')->middleware('verified');
```

- [Password Confirmation](https://laravel.com/docs/fortify#password-confirmation)

To specify that a route or group of routes requires that the user has confirmed their current password, you should attach password.confirm middleware to the route.
```code
Route::view('/home', 'home.index')->name('home')->middleware('password.confirm');
```

## Dependents

- [Laravel](https://laravel.com)
- [Laravel Fortify](https://laravel.com/docs/fortify)
- [Tailwind CSS](https://tailwindcss.com)
- [Alpine.js](https://alpinejs.dev)
- [Windmill Dashboard HTML](https://windmillui.com/dashboard-html)