PHPackages                             tobidsn/admin-generator - 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. tobidsn/admin-generator

ActiveLibrary[Admin Panels](/categories/admin)

tobidsn/admin-generator
=======================

Laravel Admin CRUD Generator

v1.4.5(4y ago)72101MITPHPPHP ^7.1 || ^8.0CI failing

Since Apr 11Pushed 4y agoCompare

[ Source](https://github.com/tobidsn/admin-generator)[ Packagist](https://packagist.org/packages/tobidsn/admin-generator)[ RSS](/packages/tobidsn-admin-generator/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (11)Used By (0)

Laravel Admin CRUD Generator
============================

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

[![Total Downloads](https://camo.githubusercontent.com/6f398b33965fb8d13767e5de8a502f1f8c2c697fd56fa20779216b75f46dde82/68747470733a2f2f706f7365722e707567782e6f72672f746f626964736e2f61646d696e2d67656e657261746f722f642f746f74616c2e737667)](https://packagist.org/packages/tobidsn/admin-generator)[![Latest Stable Version](https://camo.githubusercontent.com/53ac1acbfb4b55e4e8cd02e5fea5fd024a12a30ea0342081f1c254bdc91ad184/68747470733a2f2f706f7365722e707567782e6f72672f746f626964736e2f61646d696e2d67656e657261746f722f762f737461626c652e737667)](https://packagist.org/packages/tobidsn/admin-generator)[![License](https://camo.githubusercontent.com/09be9b4c3e404bfc9f269e16a69144dd24ccbe9eaf76ea603bebca2385d33f36/68747470733a2f2f706f7365722e707567782e6f72672f746f626964736e2f61646d696e2d67656e657261746f722f6c6963656e73652e737667)](https://packagist.org/packages/tobidsn/admin-generator)

This Generator package provides various generators like Admin CRUD, Controller, Model, View based from table for your painless development of your applications.

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

[](#requirements)

```
Laravel >= 5.5
PHP >= 7.0

```

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

[](#installation)

```
composer require tobidsn/admin-generator

```

Once the package is installed, you should register the `Tobidsn\CrudGenerator\CrudGeneratorServiceProvider` service provider. Normally, Laravel 5.5+ will register the service provider automatically.

After that, publish its assets using the `vendor:publish` Artisan command:

```
php artisan vendor:publish --provider="Tobidsn\CrudGenerator\CrudGeneratorServiceProvider"

```

Usage
-----

[](#usage)

### Generating Migrations

[](#generating-migrations)

```
php artisan make:migration create_users_table

```

### Running Migrations

[](#running-migrations)

```
php artisan migrate

```

### Admin CRUD Command

[](#admin-crud-command)

```
php artisan crud:admin User --table=users

```

### Signature information

[](#signature-information)

```
protected $signature = 'crud:admin {name : Class (singular) for example User}
                        {--table= : The name of the Table.}
                        {--model= : The name of the Model.}
                        {--route-group= : The name of the Model.}
                        {--view-path= : The name of the view path.}';
```

Test
----

[](#test)

```
php artisan serve

```

Please Login to laravel and access `http://localhost:8000/admin/user`

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

[](#configuration)

You will find a configuration file located at `config/crudgenerator.php`

### Custom Template

[](#custom-template)

When you want to use your own custom template files, then you should turn it on and it will use the files from `resources/stubs/`

```
'custom_template' => true,
```

### Path

[](#path)

You can change your template path easily, the default path is `resources/stubs/`.

```
'path' => base_path('resources/stubs/'),
```

### View Columns

[](#view-columns)

When generating CRUD or the views, the generator will assume the column number to show for the CRUD grid or detail automatically from the config. You can change it.

```
'view_columns_number' => 5,
```

### Custom Delimiter

[](#custom-delimiter)

Set your delimiter which you use for your template vars. The default delimiter is `%%` in everywhere.

```
'custom_delimiter' => ['%%', '%%'],
```

Note: You should use the delimiter same as yours template files.

### View Template Vars

[](#view-template-vars)

This configuration will help you to use any custom template vars in the views `index`, `form`,`list`, `create`, `edit`, `show`

```
'dynamic_view_template' => [],
```

### Route group

[](#route-group)

Route group of the controller

```
'route_group' => 'admin',
```

### View path

[](#view-path)

View path for view generator

```
'view_path' => '_admin',
```

### Form Helper

[](#form-helper)

Helper for custom view and form

```
'form_helper' => 'adminlte3',
```

Custom Templates
----------------

[](#custom-templates)

The package allows user to extensively customize or use own templates.

### All Templates

[](#all-templates)

To customize or change the template, you need to follow these steps:

1. Just make sure you've published all assets of this package. If you didn't just run this command.

    ```
    php artisan vendor:publish --provider="Tobidsn\CrudGenerator\CrudGeneratorServiceProvider"
    ```
2. To override the default template with yours, turn on `custom_template` option in the `config/crudgenerator.php` file.

    ```
    'custom_template' => true,
    ```
3. Now you can customize everything from this `resources/stubs/` directory.
4. Even if you need to use any custom variable just add those in the `config/crudgenerator.php` file.

License
-------

[](#license)

This project is licensed under the MIT License - see the [License File](LICENSE) for details

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

 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 ~88 days

Recently: every ~9 days

Total

10

Last Release

1796d ago

PHP version history (2 changes)v1.0PHP &gt;=5.6.4

v1.3PHP ^7.1 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![tobidsn](https://avatars.githubusercontent.com/u/22290661?v=4)](https://github.com/tobidsn "tobidsn (34 commits)")

---

Tags

admin-crudadmin-dashboardadminltegeneratorlaravelregisterlaravelcrudAdmin Generatorcrud generatorlaravel crud generator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tobidsn-admin-generator/health.svg)

```
[![Health](https://phpackages.com/badges/tobidsn-admin-generator/health.svg)](https://phpackages.com/packages/tobidsn-admin-generator)
```

###  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)
