This will generate whole crud opration

dev-main 2021-08-09 14:55 UTC

This package is not auto-updated.

Last update: 2024-06-11 04:09:06 UTC


README

This package provides a super easy way to make a laravel crud opration.

Features

  • It Creates a Model with all feilds validation
  • It Creates a Migration Table with table fields provided by users.
  • It Runs the migration of specific table .
  • It Creates resource controller with all functionallity .
  • It Creates view files Index.blade.php, Create.blade.php, show.blade.php, edit.blade.php .
  • It Can work with both existing and new project .
  • Laravel 7.x and higher
  • PHP 7.0 and higher.

Support

We proudly support the community by developing Laravel packages and giving them away for free. Keeping track of issues and pull requests takes time, but we're happy to help! any issue please feel free to DM on instagram @thisiskaushalmaurya

Installation

You can install the package via composer:

composer require kaushalmaurya/crud

Add the Service Provider to your app.php config file if you're not using Package Discovery.

// config/app.php

'providers' => [
    ...

    Kaushalmaurya\Crud\CrudServiceProvider::class,
    ...
];

Execution

  • Connect to a database
  • Run the server
  • Type in the url [127.0.0.1:8000/crud]
  • And you will get this form below and enter the fields .

Once Done Hit on submit you will get output

Go to the view file and set your project layout

Now go the web.php and copy the route and enter in the url

Yes.. its done ! now you can you can perform basic crud opration.

License

The MIT License (MIT).