PHPackages                             envatic/crud-strap - 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. [Admin Panels](/categories/admin)
4. /
5. envatic/crud-strap

ActiveLibrary[Admin Panels](/categories/admin)

envatic/crud-strap
==================

Laravel CRUD Generator

5.1.0(1y ago)01.2kMITPHP

Since Aug 24Pushed 1y agoCompare

[ Source](https://github.com/envatic/crud-strap)[ Packagist](https://packagist.org/packages/envatic/crud-strap)[ RSS](/packages/envatic-crud-strap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (60)Used By (0)

CrudStrap
=========

[](#crudstrap)

CrudStrap is a powerful Laravel package that automates the creation of CRUD (Create, Read, Update, Delete) operations for your application. It generates controllers, models, views, migrations, and other necessary files based on your specifications, saving you time and effort in the development process.

Features
--------

[](#features)

- Generates CRUD operations for Laravel applications
- Creates controllers, models, views, migrations, and more
- Supports Inertia.js and Vue.js for frontend
- Customizable templates and configurations
- Handles relationships, validations, and file uploads
- Supports enum creation and usage
- Generates API resources and policies

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

[](#installation)

To install CrudStrap, run the following command in your Laravel project:

```
composer require envatic/crudstrap
```

After installation, publish the package assets:

```
php artisan vendor:publish --provider="Envatic\CrudStrap\CrudStrapServiceProvider"
```

Configuration
-------------

[](#configuration)

The package configuration file is located at `config/crudstrap.php`. You can customize various aspects of the CRUD generation process, including:

- Custom templates
- Namespace settings
- Pagination
- Route groups
- Localization

Usage
-----

[](#usage)

To generate CRUD files, use the `crud:strap` command:

```
php artisan crud:strap {theme}
```

Replace `{theme}` with the name of your desired theme configuration from the `config/crudstrap.php` file.

### Creating CRUD JSON Files

[](#creating-crud-json-files)

Before running the command, create JSON files in your specified crud folder (default is `crud/`) to define your CRUD structures. Example:

```
{
	"fields": [
		{
			"name": "title",
			"type": "string",
			"rules": "required|max:255"
		},
		{
			"name": "content",
			"type": "text",
			"rules": "required"
		}
	],
	"relationships": [
		{
			"name": "author",
			"type": "belongsTo",
			"class": "User"
		}
	]
}
```

### Available Commands

[](#available-commands)

- `crud:delete {theme}`: Remove generated CRUD files

Frontend Components
-------------------

[](#frontend-components)

CrudStrap provides various Vue components to use in your views:

- ConfirmationModal
- FormInput
- FormLabel
- FormTextArea
- Loading
- LogoInput
- Modal
- Pagination
- PrimaryButton
- RadioCards
- RadioSelect
- SearchInput
- Switch
- VueIcon

These components are automatically published to your project's components directory.

Customization
-------------

[](#customization)

You can customize the generated files by modifying the stubs in the `resources/crud-strap/` directory after publishing the package assets.

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

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

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance44

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 67.6% 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 ~61 days

Total

58

Last Release

439d ago

Major Versions

1.2.x-dev → v2.0.02016-12-17

v2.0.7 → v3.0-beta2017-10-09

v2.0.8 → v3.0.22017-10-25

v3.3.0 → v4.0.02022-05-26

4.1.0 → 5.0.02024-07-06

PHP version history (5 changes)v1.0.0PHP &gt;=5.5.9

v3.0.8PHP &gt;=5.6.4

v3.1.0PHP &gt;=5.6.4|&gt;=7.0

v3.2.2PHP &gt;=5.6.4|&gt;=7.0|&gt;=8.0

4.0.9PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ae46353bef6d675058d4f95bbb2abe5352729635fc0b35a912a5a18622359c8?d=identicon)[envatic](/maintainers/envatic)

---

Top Contributors

[![sohelamin](https://avatars.githubusercontent.com/u/1708683?v=4)](https://github.com/sohelamin "sohelamin (240 commits)")[![ofumbi](https://avatars.githubusercontent.com/u/4081256?v=4)](https://github.com/ofumbi "ofumbi (36 commits)")[![lk77](https://avatars.githubusercontent.com/u/9606882?v=4)](https://github.com/lk77 "lk77 (12 commits)")[![ebisbe](https://avatars.githubusercontent.com/u/6747962?v=4)](https://github.com/ebisbe "ebisbe (9 commits)")[![goszowski](https://avatars.githubusercontent.com/u/10208931?v=4)](https://github.com/goszowski "goszowski (8 commits)")[![thetodd](https://avatars.githubusercontent.com/u/1815129?v=4)](https://github.com/thetodd "thetodd (7 commits)")[![eduardoarandah](https://avatars.githubusercontent.com/u/4065733?v=4)](https://github.com/eduardoarandah "eduardoarandah (6 commits)")[![glgeorgiev](https://avatars.githubusercontent.com/u/12255464?v=4)](https://github.com/glgeorgiev "glgeorgiev (5 commits)")[![landjea](https://avatars.githubusercontent.com/u/4738992?v=4)](https://github.com/landjea "landjea (4 commits)")[![tirjok](https://avatars.githubusercontent.com/u/3961179?v=4)](https://github.com/tirjok "tirjok (3 commits)")[![sangezar](https://avatars.githubusercontent.com/u/22236292?v=4)](https://github.com/sangezar "sangezar (3 commits)")[![jonashamm](https://avatars.githubusercontent.com/u/1230322?v=4)](https://github.com/jonashamm "jonashamm (3 commits)")[![alimranahmed](https://avatars.githubusercontent.com/u/7629427?v=4)](https://github.com/alimranahmed "alimranahmed (2 commits)")[![ChangePlaces](https://avatars.githubusercontent.com/u/302031?v=4)](https://github.com/ChangePlaces "ChangePlaces (2 commits)")[![rew-ind](https://avatars.githubusercontent.com/u/13276573?v=4)](https://github.com/rew-ind "rew-ind (2 commits)")[![remailednet](https://avatars.githubusercontent.com/u/240516?v=4)](https://github.com/remailednet "remailednet (2 commits)")[![wink-](https://avatars.githubusercontent.com/u/1276095?v=4)](https://github.com/wink- "wink- (1 commits)")[![antrouss](https://avatars.githubusercontent.com/u/1779360?v=4)](https://github.com/antrouss "antrouss (1 commits)")[![jonstavis](https://avatars.githubusercontent.com/u/1569236?v=4)](https://github.com/jonstavis "jonstavis (1 commits)")[![marcosrocha85](https://avatars.githubusercontent.com/u/7257227?v=4)](https://github.com/marcosrocha85 "marcosrocha85 (1 commits)")

---

Tags

laravelcrudcrud generatorlaravel crud generatorapi-generator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/envatic-crud-strap/health.svg)

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

###  Alternatives

[appzcoder/crud-generator

Laravel CRUD Generator

1.4k581.4k7](/packages/appzcoder-crud-generator)[takielias/tablar-crud-generator

Laravel Tablar Crud Generator based on https://github.com/takielias/tablar

315.6k](/packages/takielias-tablar-crud-generator)

PHPackages © 2026

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