PHPackages                             xslainadmin/livewire-crud - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. xslainadmin/livewire-crud

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

xslainadmin/livewire-crud
=========================

Enterprise Laravel Livewire CRUD generator with advanced analytics, calendar management, export/import capabilities, notification systems, and modern Bootstrap 5 UI. Perfect for rapid application development with production-ready components.

6.0.4(2mo ago)0121↓50%MITPHPPHP ^8.2|^8.3|^8.4CI failing

Since Mar 11Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ogoungaemmanuel/livewire-crud)[ Packagist](https://packagist.org/packages/xslainadmin/livewire-crud)[ Docs](https://github.com/ogoungaemmanuel/livewire-crud)[ GitHub Sponsors](https://github.com/sponsors/ogoungaemmanuel)[ Fund](https://paypal.me/ogoungaemmanuel)[ RSS](/packages/xslainadmin-livewire-crud/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (25)Versions (33)Used By (0)

Livewire CRUD Generator - Enterprise Edition
============================================

[](#livewire-crud-generator---enterprise-edition)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5719956abfd134cc8912e311e2e1bbafa6a0be2aec1cb0a7a82e03460a108b8b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f676f756e6761656d6d616e75656c2f6c697665776972652d637275642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ogoungaemmanuel/livewire-crud)[![Total Downloads](https://camo.githubusercontent.com/bbae022ae3010d21d3834f62628dd28983e0a67afe4f130e2d6dec00179e026a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f676f756e6761656d6d616e75656c2f6c697665776972652d637275642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ogoungaemmanuel/livewire-crud)[![License](https://camo.githubusercontent.com/548ff77c72822643cdfb7850b62d4566e7d193ce1925ba1066154fb0f715709b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6f676f756e6761656d6d616e75656c2f6c697665776972652d637275642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ogoungaemmanuel/livewire-crud)[![PHP Version](https://camo.githubusercontent.com/b807c18adaa5240b10d1ea1691f579c32ad4ca63d060820bae193131433ab307/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6f676f756e6761656d6d616e75656c2f6c697665776972652d637275642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ogoungaemmanuel/livewire-crud)

A comprehensive Laravel Livewire CRUD generator package with enterprise-level features including interactive charts, calendar management, advanced export/import capabilities, notification systems, and modern Bootstrap 5 UI. Perfect for rapid application development with production-ready components.

🚀 Features
----------

[](#-features)

### Core CRUD Operations

[](#core-crud-operations)

- **Advanced CRUD Generation**: Complete Create, Read, Update, Delete operations with modern UI
- **Real-time Updates**: Powered by Livewire for seamless user experience
- **Bulk Operations**: Mass delete, bulk edit, and batch processing capabilities
- **Advanced Search &amp; Filtering**: Multi-column search with real-time filtering
- **Pagination**: Efficient data pagination with customizable page sizes

### 📊 Analytics &amp; Visualization

[](#-analytics--visualization)

- **Interactive Charts**: 17+ chart types powered by ApexCharts
    - Line, Area, Bar, Column, Pie, Donut, Radial, Scatter
    - Heatmaps, Treemaps, Candlestick, Boxplot
    - Gauges, Sparklines, Mixed charts
- **Real-time Data Updates**: Live chart updates with WebSocket support
- **Export Charts**: PNG, JPG, PDF, SVG export capabilities
- **Responsive Design**: Mobile-optimized chart rendering

### 📅 Calendar Management

[](#-calendar-management)

- **Full Calendar Integration**: Powered by FullCalendar
- **Multiple Views**: Month, week, day, list, and timeline views
- **Drag &amp; Drop**: Interactive event management
- **Recurring Events**: Support for repeating events
- **Event Categories**: Color-coded event organization
- **Export Options**: Calendar export to ICS, PDF formats

### 📄 Export &amp; Import System

[](#-export--import-system)

- **Multi-format Export**: PDF, Excel, CSV, Word documents
- **Template System**: Customizable export templates
- **Batch Processing**: Handle large datasets efficiently
- **Print Optimization**: Professional print layouts
- **Security Features**: Password protection and watermarks
- **Bulk Import**: CSV/Excel import with validation

### 🔔 Notification System

[](#-notification-system)

- **Multi-channel Delivery**: Database, email, broadcast, SMS
- **Real-time Notifications**: Instant updates via WebSockets
- **Email Templates**: Beautiful, responsive email designs
- **Notification Center**: Centralized notification management
- **Scheduling**: Delayed and scheduled notifications

### 🎨 Modern UI/UX

[](#-modern-uiux)

- **Bootstrap 5**: Latest Bootstrap framework with custom theming
- **Dark Mode**: Complete dark/light theme support
- **Responsive Design**: Mobile-first approach for all devices
- **Alpine.js Integration**: Reactive components and interactions
- **FontAwesome Icons**: Comprehensive icon library
- **Accessibility**: WCAG 2.1 compliant interfaces

### 🔧 Advanced Features

[](#-advanced-features)

- **Theme System**: Multiple pre-built themes and customization
- **Multi-language Support**: Internationalization ready
- **Role-based Access**: Permission management integration
- **API Generation**: RESTful API endpoints with documentation
- **Testing Suite**: Automated tests for generated components
- **Performance Optimization**: Query optimization and caching

📋 Requirements
--------------

[](#-requirements)

- PHP ^8.0
- Laravel ^9.0|^10.0|^11.0
- Livewire ^3.0
- Node.js ^16.0 (for asset compilation)
- Composer ^2.0

🛠 Installation
--------------

[](#-installation)

### Step 1: Install via Composer

[](#step-1-install-via-composer)

```
composer require nwidart/laravel-modules
composer require xslainadmin/livewire-crud
```

### Step 2: Install Package Dependencies

[](#step-2-install-package-dependencies)

```
php artisan crud:install
```

This command will:

- Install and configure Bootstrap 5, ApexCharts, FullCalendar
- Set up Alpine.js and FontAwesome
- Configure Webpack/Vite for asset compilation
- Install all JavaScript dependencies
- Compile CSS/JS assets
- Publish configuration files

### Step 3: Configure Environment

[](#step-3-configure-environment)

Add to your `.env` file:

```
# Chart Configuration
CHARTS_ENABLED=true
CHARTS_DEFAULT_TYPE=line
CHARTS_CACHE_DURATION=3600

# Calendar Configuration
CALENDAR_ENABLED=true
CALENDAR_DEFAULT_VIEW=dayGridMonth
CALENDAR_TIME_ZONE=UTC

# Export Configuration
EXPORT_ENABLED=true
EXPORT_MAX_RECORDS=10000
EXPORT_QUEUE_ENABLED=true

# Notification Configuration
NOTIFICATIONS_ENABLED=true
NOTIFICATIONS_CHANNELS=database,mail
NOTIFICATIONS_QUEUE=default
```

### Step 4: Run Migrations (Optional)

[](#step-4-run-migrations-optional)

If you want to use the built-in notification system:

```
php artisan migrate
```

🎯 Usage
-------

[](#-usage)

### Basic CRUD Generation

[](#basic-crud-generation)

Generate a complete CRUD interface for any model:

```
php artisan crud:generate {table_name} {theme?} {module?}
```

**Example:**

```
php artisan crud:generate users modern
php artisan crud:generate products default admin
```

### Available Themes

[](#available-themes)

- **default**: Clean, professional design
- **modern**: Contemporary with advanced animations
- **minimal**: Simplified, focused interface
- **dark**: Dark-first design approach

### Generated Components

[](#generated-components)

Each CRUD generation creates:

#### 📁 Livewire Components

[](#-livewire-components)

- `{Model}Component.php` - Main CRUD component
- `{Model}Chart.php` - Analytics component
- `{Model}Calendar.php` - Calendar component
- `{Model}Export.php` - Export component
- `{Model}Import.php` - Import component

#### 🎨 Views

[](#-views)

- `index.blade.php` - Data listing with advanced features
- `create.blade.php` - Creation form with validation
- `edit.blade.php` - Edit form with live updates
- `show.blade.php` - Detailed view with related data
- `modals/` - Modal components for quick actions

#### 🗃 Models &amp; Factories

[](#-models--factories)

- `{Model}.php` - Eloquent model with relationships
- `{Model}Factory.php` - Database factory for testing
- Migration files with proper indexing

#### 📧 Notifications

[](#-notifications)

- `{Model}Created.php` - Creation notification
- `{Model}Updated.php` - Update notification
- `{Model}Deleted.php` - Deletion notification

### Advanced Usage Examples

[](#advanced-usage-examples)

#### 1. Chart Integration

[](#1-chart-integration)

```
// In your Livewire component
public function loadChartData()
{
    return [
        'series' => [
            [
                'name' => 'Sales',
                'data' => $this->getSalesData()
            ]
        ],
        'options' => [
            'chart' => ['type' => 'line'],
            'xaxis' => ['categories' => $this->getMonths()]
        ]
    ];
}
```

#### 2. Calendar Events

[](#2-calendar-events)

```
// Define calendar events
public function getCalendarEvents()
{
    return $this->model::query()
        ->select('id', 'title', 'start_date as start', 'end_date as end')
        ->get()
        ->map(function ($event) {
            return [
                'id' => $event->id,
                'title' => $event->title,
                'start' => $event->start,
                'end' => $event->end,
                'backgroundColor' => $this->getEventColor($event)
            ];
        });
}
```

#### 3. Custom Export Templates

[](#3-custom-export-templates)

```
// Create custom PDF export
public function exportToPdf()
{
    $data = $this->getFilteredData();

    return $this->export()
        ->template('custom.pdf-template')
        ->data($data)
        ->filename('report-' . now()->format('Y-m-d'))
        ->download();
}
```

#### 4. Real-time Notifications

[](#4-real-time-notifications)

```
// Send real-time notification
public function notifyUsers($message, $type = 'info')
{
    $this->dispatch('notification', [
        'message' => $message,
        'type' => $type,
        'timeout' => 5000
    ]);
}
```

🎛 Configuration
---------------

[](#-configuration)

### Publishing Configuration Files

[](#publishing-configuration-files)

```
php artisan vendor:publish --provider="LivewireCrud\LivewireCrudServiceProvider" --tag=config
```

### Main Configuration (`config/livewire-crud.php`)

[](#main-configuration-configlivewire-crudphp)

```
return [
    'export' => [
        'enabled' => true,
        'formats' => ['pdf', 'excel', 'csv'],
        'templates' => [
            'pdf' => 'exports.pdf.default',
            'excel' => 'exports.excel.default',
        ],
        'security' => [
            'password_protect' => false,
            'watermark' => false,
        ],
    ],

    'charts' => [
        'enabled' => true,
        'default_type' => 'line',
        'color_scheme' => 'default',
        'animations' => true,
        'toolbar' => true,
    ],

    'calendar' => [
        'enabled' => true,
        'default_view' => 'dayGridMonth',
        'time_format' => 'H:mm',
        'date_format' => 'YYYY-MM-DD',
    ],

    'notifications' => [
        'enabled' => true,
        'channels' => ['database', 'mail'],
        'templates' => [
            'mail' => 'notifications.mail.default',
        ],
    ],
];
```

🎨 Customization
---------------

[](#-customization)

### Custom Themes

[](#custom-themes)

Create your own theme by extending the base theme:

```
php artisan crud:theme MyCustomTheme
```

### Custom Templates

[](#custom-templates)

Override default templates:

```
php artisan vendor:publish --provider="LivewireCrud\LivewireCrudServiceProvider" --tag=views
```

### Custom Styling

[](#custom-styling)

The package uses CSS custom properties for easy theming:

```
:root {
  --primary-color: #your-color;
  --secondary-color: #your-color;
  --success-color: #your-color;
  /* ... */
}
```

🧪 Testing
---------

[](#-testing)

Run the test suite:

```
composer test
```

Generate test coverage:

```
composer test-coverage
```

📚 API Reference
---------------

[](#-api-reference)

### Livewire Methods

[](#livewire-methods)

MethodDescriptionParameters`loadData()`Load paginated data`$page`, `$perPage``search($query)`Search records`$query` string`sort($field)`Sort by field`$field`, `$direction``export($format)`Export data`$format` (pdf|excel|csv)`bulkDelete($ids)`Delete multiple records`$ids` array### JavaScript API

[](#javascript-api)

```
// Chart management
App.charts.create("#chart", options);
App.charts.updateData("#chart", newData);

// Calendar management
App.calendar.init("#calendar", options);
App.calendar.addEvent(eventData);

// Notifications
App.notifications.show(message, type, options);
```

🔧 Troubleshooting
-----------------

[](#-troubleshooting)

### Common Issues

[](#common-issues)

1. **Assets not loading**: Run `php artisan crud:install` and ensure Node.js dependencies are installed
2. **Charts not rendering**: Verify ApexCharts is loaded and check browser console for errors
3. **Export failing**: Ensure proper file permissions and storage configuration
4. **Calendar not showing**: Check FullCalendar dependencies and configuration

### Debug Mode

[](#debug-mode)

Enable debug mode in configuration:

```
'debug' => env('CRUD_DEBUG', false),
```

🤝 Contributing
--------------

[](#-contributing)

We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

### Development Setup

[](#development-setup)

1. Fork the repository
2. Clone your fork
3. Install dependencies: `composer install && npm install`
4. Run tests: `composer test`
5. Create feature branch
6. Submit pull request

🔒 Security
----------

[](#-security)

If you discover any security-related issues, please email  instead of using the issue tracker.

📄 License
---------

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

🙏 Credits
---------

[](#-credits)

- [Ogounga Emmanuel](https://github.com/ogoungaemmanuel) - Creator &amp; Maintainer
- [All Contributors](../../contributors) - Community contributors
- [ApexCharts](https://apexcharts.com/) - Chart library
- [FullCalendar](https://fullcalendar.io/) - Calendar component
- [Bootstrap](https://getbootstrap.com/) - UI framework
- [Livewire](https://laravel-livewire.com/) - Frontend framework

🌟 Support
---------

[](#-support)

- ⭐ Star this repository if it helped you!
- 🐛 [Report bugs](https://github.com/ogoungaemmanuel/livewire-crud/issues)
- 💡 [Request features](https://github.com/ogoungaemmanuel/livewire-crud/issues)
- 📖 [Documentation](https://ogoungaemmanuel.github.io/livewire-crud)
- 💬 [Discussions](https://github.com/ogoungaemmanuel/livewire-crud/discussions)

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ogounga Emmanuel](https://github.com/xslainadmin)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance84

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 74% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~23 days

Total

32

Last Release

81d ago

Major Versions

3.0.7 → 4.0.12024-08-21

4.0.3 → 5.0.02025-05-05

4.0.8 → 5.0.22025-09-12

5.0.10 → 6.0.02025-12-10

PHP version history (5 changes)3.0PHP ^8.1

5.0.0PHP ^8.2

5.0.4PHP ^8.0|^8.1|^8.2|^8.3

5.0.5PHP ^8.1|^8.2|^8.3|^8.4

6.0.1PHP ^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/69cfbb3a98cb81e1bcbc83e1f7a3c49302b01539c944ef9259745865e4c6a621?d=identicon)[xslain](/maintainers/xslain)

---

Top Contributors

[![ogoungaemmanuel](https://avatars.githubusercontent.com/u/20252938?v=4)](https://github.com/ogoungaemmanuel "ogoungaemmanuel (57 commits)")[![georgechitechi](https://avatars.githubusercontent.com/u/52364198?v=4)](https://github.com/georgechitechi "georgechitechi (20 commits)")

---

Tags

searchlaravelmonitoringscaffoldingexportgeneratornotificationsredisimportAuditlivewirepermissionsrbaccalendarcrudbootstrapdashboardquery builderenterpriseadminfullcalendarchartsalpinehorizonactivity-lograpid-developmentapexchartstelescopepulsedata transfer objects

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/xslainadmin-livewire-crud/health.svg)

```
[![Health](https://phpackages.com/badges/xslainadmin-livewire-crud/health.svg)](https://phpackages.com/packages/xslainadmin-livewire-crud)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[muhammadsadeeq/laravel-activitylog-ui

A beautiful, modern UI for Spatie's Activity Log with advanced filtering, analytics, and real-time features.

17510.1k](/packages/muhammadsadeeq-laravel-activitylog-ui)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
