PHPackages                             ycs77/laravel-crud-page - 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. ycs77/laravel-crud-page

AbandonedArchivedLibrary[Admin Panels](/categories/admin)

ycs77/laravel-crud-page
=======================

Fast generate CRUD pages, controllers of the Laravel.

v1.0.1(6y ago)012MITPHP

Since May 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ycs77/laravel-crud-page)[ Packagist](https://packagist.org/packages/ycs77/laravel-crud-page)[ RSS](/packages/ycs77-laravel-crud-page/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

Laravel CRUD Pages
==================

[](#laravel-crud-pages)

[![Latest Version on Packagist](https://camo.githubusercontent.com/55d67cd5aa03056511c0520861b16bd4d9cb4cf72b55f7b3d1ecb5d4ad3bdb5b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79637337372f6c61726176656c2d637275642d706167652e7376673f7374796c653d666c6174)](https://packagist.org/packages/ycs77/laravel-crud-page)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/70d77798b0638c61b0c4e3f95963932e3130c0de6efeecb7181b316f47c9c75e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79637337372f6c61726176656c2d637275642d706167652e7376673f7374796c653d666c6174)](https://packagist.org/packages/ycs77/laravel-crud-page)

Fast generate CRUD pages, controllers of the Laravel.

> This package is for `users` to use, **NOT** `administrator`.

- The form builder uses packages [Laravel form builder](https://github.com/kristijanhusak/laravel-form-builder) and [Laravel form field type](https://github.com/ycs77/laravel-form-field-type), config use [Laravel form builder BS4](https://github.com/ycs77/laravel-form-builder-bs4).
- The table builder uses [kabbouchi/laravel-table-view](https://github.com/kabbouchi/laravel-table-view)
- This package the icon uses [Fontawesome 5](https://fontawesome.com/)'s icon, requires manual installation.

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

[](#installation)

Via Composer:

```
composer require ycs77/laravel-crud-page

```

Publish config (**Required**):

```
php artisan vendor:publish --tag=laravel-crud-page
php artisan vendor:publish --tag=laravel-form-builder-bs4
php artisan vendor:publish --tag=laravel-form-field-type-config

```

Usage
-----

[](#usage)

### Config

[](#config)

Add your resource to config:

*config/crud-page.php*

```
'resources' => [
    // ...

    'post' => [
        'model' => '\App\Post',
        'controller' => '\App\Http\Controllers\PostController',
        'file_store' => 'posts',
        'view_name' => null,
        'actions' => [
            'index' => true,
            'create' => true,
            'show' => true,
            'edit' => true,
            'delete' => true,
        ],
    ],
],
```

### Controller

[](#controller)

Create controller:

```
php artisan make:crud:controller PostController

```

Created a new CRUD controller:

```
class PostController extends CrudController
{
    /**
     * Get table fields.
     *
     * @see https://github.com/KABBOUCHI/laravel-table-view#usage
     *
     * @return array
     */
    protected function getTableFields()
    {
        return [
            'Title' => 'title',
        ];
    }

    /**
     * Get form fields.
     *
     * @see https://github.com/ycs77/laravel-form-field-type
     *
     * @return array
     */
    protected function formFields()
    {
        return [
            'title' => [
                'type' => 'text',
                'rules' => 'required|max:50',
            ],
            'content' => [
                'type' => 'textarea',
                'rules' => 'required',
            ],
            'submit',
        ];
    }
}
```

### Routes

[](#routes)

Add resources routes (resource `post` is example):

*config/crud-page.php*

```
CrudPage::routes('post');
```

### View

[](#view)

If you want override view, can create view to views folder `posts/index`. (`posts` is resource name, `index` is action).

LICENSE
-------

[](#license)

[MIT LICENSE](LICENSE.md)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Total

5

Last Release

2540d ago

Major Versions

v0.1.0 → v1.0.0-rc.12019-05-29

### Community

Maintainers

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

---

Top Contributors

[![ycs77](https://avatars.githubusercontent.com/u/38133356?v=4)](https://github.com/ycs77 "ycs77 (22 commits)")

---

Tags

laravelgeneratorcontrollerscrudpages

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ycs77-laravel-crud-page/health.svg)

```
[![Health](https://phpackages.com/badges/ycs77-laravel-crud-page/health.svg)](https://phpackages.com/packages/ycs77-laravel-crud-page)
```

PHPackages © 2026

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