Download the PHP package sajidul-islam/laravel-crud-generator without Composer

On this page you can find all versions of the php package sajidul-islam/laravel-crud-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-crud-generator

Laravel CRUD Generator

A Laravel package that lets you scaffold complete CRUD (Create, Read, Update, Delete) functionality—with models, migrations, controllers, requests, views, and routes—through a simple web-based UI or programmatically.

Features

Requirements


Installation

  1. Require the Package

  2. (Optional) Migrate Your Database

    Ensure your existing migrations are up-to-date before generating new tables.


Configuration

you can publish the configuration file with:

Typical settings include:

If no config/crud-generator.php appears after installation, the package works out-of-the-box with sensible defaults.


Usage

Web UI

crud-generator

  1. Access the Generator
    Open your browser and navigate to /crud-generator. If your application uses a custom prefix (e.g., admin), adjust the URL accordingly.

  2. Fill Out the Form

    • Model Name (PascalCase) (e.g., Post)
    • Table Name (snake_case, plural) (e.g., posts—auto-filled from Model Name)
    • Generate Migration (checkbox)
    • Generate Seeder (checkbox)
    • Fields

      • Field Name (snake_case, no spaces)
      • Type (string, text, integer, boolean, date, datetime, email, password)
      • Validation Rules (Laravel validation syntax, e.g., required|string|max:255)
      • Nullable (checkbox)
    • Quick Templates

      • Click a template button (e.g., "Blog Post", "Product", "User") to load predefined fields.
  3. Generate CRUD
    Click the "Generate CRUD" button. The package will scaffold files and append routes. A "Results" panel will list every created/modified file and next steps (e.g., run php artisan migrate).

CLI/Artisan Command

The package provides an Artisan command to generate CRUD operations directly from the command line:

Basic Usage

Available Options

Examples

1. Interactive Mode (Recommended for beginners)

This will prompt you to enter fields interactively.

2. With JSON Fields

3. Custom Table Name

4. Skip Migration

5. With Seeder

Programmatic Usage

You can also call the CrudGeneratorService directly from within your own Artisan commands or controllers:


Troubleshooting


Contributing

  1. Fork the Repo
    Clone your fork:

  2. Create a New Branch

  3. Make Changes & Commit
    Use clear, concise commit messages.

  4. Push & Open a PR

    Open a pull request against the main branch. Include usage examples or tests if you introduce new functionality.


License

This package is released under the MIT License. Use, modify, and distribute freely.


Version

1.0.1

Repo activity

Alt

Acknowledgments

Happy coding! 🚀


All versions of laravel-crud-generator with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
laravel/framework Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0
doctrine/dbal Version ^3.0|^4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sajidul-islam/laravel-crud-generator contains the following files

Loading the files please wait ....