lauroguedes/mary-ui-starter-kit

A modern Laravel starter kit featuring Livewire Volt, Mary UI, and Tailwind CSS with complete authentication, user management, and comprehensive testing.

v1.0.2 2025-06-15 21:03 UTC

This package is auto-updated.

Last update: 2025-06-15 21:05:29 UTC


README

A modern, production-ready Laravel starter kit featuring Livewire Volt and Mary UI. Build beautiful web applications with a complete authentication system, user management, and developer-friendly tooling.

Laravel Livewire Mary UI License

Packagist Version Packagist Downloads


demo_screenshot

โœจ Features

๐ŸŽจ Frontend Stack

  • Livewire 3.x with Volt for reactive single-file components
  • Mary UI 2.x - Beautiful, accessible UI components
  • Tailwind CSS 4.x + DaisyUI for styling
  • Blade Hero and Fontawesome icons integration
  • Vite for lightning-fast asset bundling

๐Ÿ” Authentication & User Management

  • Complete authentication system (login, registration, password reset)
  • Email verification with resend functionality
  • Password confirmation for sensitive operations
  • User profile management with avatar uploads
  • User management dashboard with full CRUD operations
  • User status management (Active, Inactive, Suspended)
  • Advanced filtering and search capabilities
  • Avatar management with automatic cleanup

๐Ÿ—๏ธ Architecture & Developer Experience

  • Laravel 12.x with PHP 8.2+ support
  • SQLite database by default (easy local setup)
  • Pest testing framework with 77+ comprehensive tests
  • Code quality tools: Pint (formatting), Rector (refactoring)
  • Debugging tools: LaraDumps, Laravel Pail
  • Development workflow with Concurrently for multi-process dev server

๐Ÿงช Testing Coverage

  • 77 tests with 218 assertions
  • Complete test coverage for authentication flows
  • User management CRUD operations testing
  • File upload and avatar management testing
  • Form validation and error handling
  • Database cleanup and file storage testing

๐Ÿ“ File Management

  • Avatar upload with cropping support (Cropper.js)
  • Automatic file cleanup on user deletion
  • File validation (type, size)
  • Storage testing with fake disks

๐Ÿš€ Quick Start

Prerequisites

  • PHP 8.2+
  • Node.js 18+
  • Composer
  • SQLite (included with PHP)

Installation

# Install via Laravel Installer
laravel new my-app --using=lauroguedes/mary-ui-starter-kit

# or Composer
composer create-project lauroguedes/mary-ui-starter-kit my-app

# (Optional) Generate fake data for testing
php artisan db:seed

# Default user
user: test@user.com
pw: secret

Clone the repository manually:

# Clone the repository
git clone https://github.com/lauroguedes/mary-ui-starter-kit
cd mary-ui-starter-kit

# Install PHP dependencies
composer install

# Copy environment file and generate app key
cp .env.example .env
php artisan key:generate

# Set up the database
php artisan migrate --seed

# Install frontend dependencies
npm install
# or if you use Yarn
yarn

# Run the development server
php artisan serve
# In a separate terminal
npm run dev
# or
yarn dev

Development Workflow

For an enhanced development experience with hot reloading:

# Start all development services (server, queue, logs, vite)
composer dev

Visit http://localhost:8000 to view your application.

This runs:

  • Laravel development server
  • Queue worker
  • Log monitoring (Pail)
  • Vite dev server with hot reload

๐Ÿงช Testing

Run the comprehensive test suite:

# Run all tests
./vendor/bin/pest

# Run with coverage
./vendor/bin/pest --coverage

๐Ÿ”ง Customization

Key environment variables for customization. Change the APP_LAYOUT to sidebar or header and LOGIN_LAYOUT to card, simple, or split:

# Appearance settings
APP_LAYOUT=
LOGIN_LAYOUT=

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and add tests
  4. Run the test suite: ./vendor/bin/pest
  5. Commit your changes: git commit -m 'Add amazing feature'
  6. Push to the branch: git push origin feature/amazing-feature
  7. Open a Pull Request

Code Quality

We maintain high code quality standards:

# Format code
./vendor/bin/pint

# Refactor code
./vendor/bin/rector

# Run tests
./vendor/bin/pest

๐Ÿ“‹ Roadmap

  • Google Auth Provider
  • Role-based permissions system
  • Advanced Log and Audit
  • Multi-tenant support
  • Advanced notification system
  • Dashboard analytics
  • API integration with Laravel Sanctum

๐Ÿ†˜ Support

๐Ÿ“ License

This project is open-sourced software licensed under the MIT license.

Built with โค๏ธ by Lauro Guedes

โญ Star this repository if it helped you!