Download the PHP package somisa/crud-generator without Composer

On this page you can find all versions of the php package somisa/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 crud-generator

Laravel CRUD Generator

Generate the boring parts of a Laravel application from one Artisan command: the controller, model, migration, views, language file and API of a resource, or each of them on its own.

This is a fork of sohelamin/crud-generator, kept for Laravel 13 and for fixes to the generated migrations. It installs as somisa/crud-generator and replaces appzcoder/crud-generator, so the commands, the config file and the Appzcoder\CrudGenerator namespace are the same as in the original.

Requirements

Installation

If the project already requires appzcoder/crud-generator, remove that line first. The fork replaces it, and the two cannot be installed side by side.

Quick start

Generate a whole resource (controller, model, views, migration and routes) for Posts:

The generated views use the <x-app-layout> component and Tailwind classes, as in a Laravel Breeze project (Breeze is suggested, not required: only the views need that layout; crud:model and crud:migration do not). Without Breeze, copy the stubs with php artisan vendor:publish --provider="Appzcoder\CrudGenerator\CrudGeneratorServiceProvider" (they land in resources/crud-generator/), set custom_template to true in config/crudgenerator.php, and change the layout there.

Describe the columns with --fields: name#type, separated by semicolons. Options such as a view path, a controller namespace or a route group are listed in the documentation.

Commands

Command What it makes
crud:generate the whole resource: controller, model, views, migration, routes
crud:api the same for an API: controller, model, migration
crud:controller a resource controller
crud:api-controller an API controller
crud:model a model
crud:migration a migration
crud:view the views
crud:lang a language file

Run php artisan help crud:generate (or any command above) to see every option.

Documentation

License

MIT, see LICENSE. The original work is by Sohel Amin; this fork adds changes by András Somos.


All versions of crud-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.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 somisa/crud-generator contains the following files

Loading the files please wait ...