PHPackages                             tir/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. [Framework](/categories/framework)
4. /
5. tir/crud

ActiveLibrary[Framework](/categories/framework)

tir/crud
========

Laravel CRUD scaffolding system

12.7.9(3w ago)21.7k↓89.3%[1 PRs](https://github.com/TirFramework/crud/pulls)2MITPHPCI failing

Since Jan 3Pushed 3w ago2 watchersCompare

[ Source](https://github.com/TirFramework/crud)[ Packagist](https://packagist.org/packages/tir/crud)[ RSS](/packages/tir-crud/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (16)Versions (59)Used By (2)

Tir/CRUD - Laravel CRUD Scaffolding Framework
=============================================

[](#tircrud---laravel-crud-scaffolding-framework)

**Version**: 1.0.0 | **License**: MIT | **Framework**: Laravel 12.0+

A powerful, trait-based CRUD scaffolding framework that automates complete CRUD operations for Laravel applications with minimal boilerplate code.

🎯 Quick Overview
----------------

[](#-quick-overview)

Tir/CRUD enables rapid development of admin panels and data management systems by:

- ✅ Auto-generating complete CRUD operations from simple configurations
- ✅ Providing flexible field system with validation and relations
- ✅ Managing access control at method and UI levels
- ✅ Supporting multiple databases through adapter pattern
- ✅ Offering extensible hook system for customization
- ✅ Including comprehensive testing suite with 170+ tests

✨ Features
----------

[](#-features)

### Core CRUD Operations

[](#core-crud-operations)

- **Index** - List records with filtering, searching, and pagination
- **Show** - Display detailed record view
- **Create** - Display creation form
- **Store** - Save new records with validation
- **Edit** - Display edit form
- **Update** - Update existing records
- **Destroy** - Soft delete records
- **Trash** - List soft-deleted records
- **Restore** - Restore soft-deleted records
- **Force Delete** - Permanently delete records

### Advanced Features

[](#advanced-features)

- **Scaffolder System** - Configuration-driven metadata management
- **Field System** - 15+ field types with validation and relations
- **Hook System** - Pre/post action callbacks for custom logic
- **Access Control** - Scope-based and method-level permissions
- **Service Layer** - Separated business logic from controllers
- **Database Adapters** - MySQL, PostgreSQL, SQLite, SQL Server support
- **Module Management** - Organized module structure with admin menus
- **Audit Logging** - Track all CRUD operations with user context
- **Multi-Language Support** - English, German, Farsi translations

🚀 Quick Start
-------------

[](#-quick-start)

### 1. Install Package

[](#1-install-package)

```
composer require tir/crud
```

### 2. Create a Scaffolder

[](#2-create-a-scaffolder)

Define CRUD configuration for your model:

```
