PHPackages                             crudgenerator/crudoperation - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. crudgenerator/crudoperation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

crudgenerator/crudoperation
===========================

This package will generate a crud operation within a few time

111PHP

Since Jul 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/zahidhasan566/LaravelCrudGeneratorPackage)[ Packagist](https://packagist.org/packages/crudgenerator/crudoperation)[ RSS](/packages/crudgenerator-crudoperation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Crud Generator Package
==============================

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

[![Latest Version](https://camo.githubusercontent.com/477e7171de5edaa7ce15ff5c9b4d7a7aa9e8dfa775616951d609896bb87ae83d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7a61686964686173616e3536362f6c6f67696e496e666f5061636b6167652e7376673f7374796c653d666c61742d737175617265)](https://github.com/zahidhasan566/loginInfoPackage/releases)

\##This will help you to make a crud operation within a few time

System Architecture
-------------------

[](#system-architecture)

- Laravel Version 10.x
- php 8.1

Features
--------

[](#features)

- Controller, Model, View , Migration, Routes files will be created by a single command.
- User can define the relationship model.
- User can do crud operation without writing long code.

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

[](#installation)

```
composer require crudgenerator/crudoperation:dev-master

```

Migration: After successfully installing the package, Collective html package need to be downloaded for view .

```
composer require laravelcollective/html

```

After downloading the package, add the service provider
-------------------------------------------------------

[](#after-downloading-the-package-add-the-service-provider)

```
php artisan vendor:publish --provider="Crudoperation\CrudServiceProvider"

```

Usage
-----

[](#usage)

### Create a CRUD Operation

[](#create-a-crud-operation)

suppose we are going to make a NewsPortal.

A `News` has many (hasMany) `Comment` and belongs to many (belongsToMany) `Tag`

A `News` can have a `title` and a `content` fields.

### Step 1

[](#step-1)

`php artisan make:crud nameOfYourCrudFile "column1:type, column2:type"`

`(Example: ) php artisan make:crud news "title:string, content:text"`

When you call this command, controller, views files will be generated. Route will be written in Routes-&gt;web.php file.

### Step 2

[](#step-2)

Then we have to add an `hasMany` relationship between our `News` and `Comment`and a `belongsToMany` with `Tag`

`News` model and migrate files will be generated.

### Step 3

[](#step-3)

### Migration

[](#migration)

To migrate your files, just use this command : `php artisan migrate`

### Step 4

[](#step-4)

### Routes

[](#routes)

To run your routes, you have to import the route like this:

`Route::resource('news', NewsController::class); -> use App\Http\Controllers\NewsController; `

Remove any CRUD
---------------

[](#remove-any-crud)

`php artisan rm:crud nameOfYourCrud --force`

`(Example: ) php artisan rm:crud news --force `

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c62fa05a42b7cbc08788ce25aba01bb2cc4e810ac524392e2892f20204b18f42?d=identicon)[zahidhasan566](/maintainers/zahidhasan566)

---

Top Contributors

[![zahidhasan566](https://avatars.githubusercontent.com/u/55635494?v=4)](https://github.com/zahidhasan566 "zahidhasan566 (14 commits)")

### Embed Badge

![Health badge](/badges/crudgenerator-crudoperation/health.svg)

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

PHPackages © 2026

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