PHPackages                             vickymaulana/buatcrud - 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. vickymaulana/buatcrud

ActiveLibrary[Framework](/categories/framework)

vickymaulana/buatcrud
=====================

A Laravel package to generate CRUD operations with advanced features.

v1.0.3(1y ago)110MITPHPPHP &gt;=8.2

Since Oct 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/vickymaulana/buatcrud)[ Packagist](https://packagist.org/packages/vickymaulana/buatcrud)[ RSS](/packages/vickymaulana-buatcrud/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

BuatCrud - Laravel CRUD Generator Package
=========================================

[](#buatcrud---laravel-crud-generator-package)

This package provides an easy-to-use Artisan command to generate a complete CRUD (Create, Read, Update, Delete) system in Laravel projects. It supports advanced features such as custom fields, automatic view generation, route management, sidebar integration, and request validation.

Features
--------

[](#features)

- **Customizable CRUD Generation**: Easily define custom fields and generate the necessary migration, model, controller, and views.
- **Form Request Validation**: Automatically includes form requests for input validation.
- **Blade Templates for Views**: Generates views for listing, creating, editing, and showing records.
- **Sidebar Integration**: Offers an option to integrate the generated CRUD into your Laravel project's sidebar.
- **Automatic Route Handling**: Adds routes for the generated CRUD operations in `web.php`.
- **Laravel Policy Generation**: Generates policies to handle authorization for the generated model.

Installation
------------

[](#installation)

To install the package in your Laravel project, you can add it via Composer:

```
composer require vickymaulana/buatcrud
```

Alternatively, you can manually add it to your `composer.json`:

```
{
    "require": {
        "vickymaulana/buatcrud": "^1.0"
    }
}
```

Then, run:

```
composer update
```

### Service Provider

[](#service-provider)

Once installed, the package will automatically register its service provider using Laravel's auto-discovery feature. However, if you need to manually register the service provider, you can do so in the `config/app.php` file:

```
'providers' => [
    // Other Service Providers
    VickyMaulana\BuatCrud\BuatCrudServiceProvider::class,
],
```

Usage
-----

[](#usage)

After installing the package, you can use the following Artisan command to generate CRUD operations for any model:

```
php artisan buatcrud {name} --fields={field1:type1,field2:type2,...}
```

- `{name}`: The name of the model for which you want to generate CRUD (e.g., `Product`).
- `--fields`: Specify fields and their types in the format `field:type`. Types can include typical Laravel migration types like `string`, `text`, `integer`, `decimal`, etc.

#### Example:

[](#example)

```
php artisan buatcrud Product --fields="name:string,price:decimal,description:text"
```

This command will generate:

- A model and migration for `Product`.
- A resource controller for CRUD operations.
- Blade templates for listing, creating, editing, and viewing the product.
- Form request validation rules.
- Optional sidebar link (with confirmation).

Package Structure
-----------------

[](#package-structure)

- **src/**: Contains the package source code, including the service provider and console command.
- **BuatCrudServiceProvider**: Registers the package and makes the command available.
- **Commands/BuatCrud.php**: The Artisan command logic that generates the CRUD files.

Requirements
------------

[](#requirements)

- Laravel 11+
- PHP 8.2+
- [Laravel11-Stisla](https://github.com/vickymaulana/laravel11-stisla)

License
-------

[](#license)

The BuatCrud package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

Author
------

[](#author)

- **Vicky Maulana**
    GitHub: [vickymaulana](https://github.com/vickymaulana)
    Email:

Feel free to contribute by submitting pull requests, reporting issues, or suggesting features.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

4

Last Release

625d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28435438?v=4)[Vicky ](/maintainers/vickymaulana)[@vickymaulana](https://github.com/vickymaulana)

---

Top Contributors

[![vickymaulana](https://avatars.githubusercontent.com/u/28435438?v=4)](https://github.com/vickymaulana "vickymaulana (10 commits)")

### Embed Badge

![Health badge](/badges/vickymaulana-buatcrud/health.svg)

```
[![Health](https://phpackages.com/badges/vickymaulana-buatcrud/health.svg)](https://phpackages.com/packages/vickymaulana-buatcrud)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M307](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M203](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[illuminate/routing

The Illuminate Routing package.

1419.2M3.0k](/packages/illuminate-routing)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k13](/packages/laravel-surveyor)

PHPackages © 2026

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