Download the PHP package chriskelemba/auto-crud without Composer

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

Auto Crud – Zero-Code CRUD Generator for Laravel

Auto Crud is a Laravel package that gives you fully functional CRUD for both API and Web routes — with just an empty controller.

No routes file changes.
No repetitive controller methods.
No resource classes required (but supported).
Just extend one class → instant CRUD.


Features


Installation

This package ships with a JSON:API-style response format by default, and lets you override it without touching controllers.


Usage

All you require to do is to extend the package's controller file.


Auto-Generated CRUD Routes

For every controller that extends AutoCrud\Http\Controllers\Controller, the package automatically registers a full CRUD route set under the API prefix, and optionally under Web routes.

Assuming a controller named:

The base API route becomes:

Below are the complete routing tables generated for every auto-CRUD controller:

Web Routes (optional)

If you enable web routes, the same endpoints are registered under the web prefix:

The route names are prefixed with web. by default:

⚠️ Model Requirement

This package requires every controller to be provided with a model. If the model is not defined, the controller cannot perform CRUD, soft delete, or file handling operations. Make sure your configuration specifies the model used by each controller.


Custom JSON Responses (No Controller Changes)

AutoCrud returns a JSON:API-style payload by default (including pagination links/meta):

Customize the response without editing controllers

Create a formatter class in your app:

Then update your published config:

Default per-page size

The index endpoint paginates by default (10 per page). You can change it:


Configuration (via .env)

You can configure AutoCrud using environment variables (no config publish required):

Example .env

Optional: you can still publish the config if you want to hard‑code settings:

Requirements

Contributing

Contributions are open to everyone.
Feel free to submit issues, feature requests, or pull requests.

License

This package is open-source software licensed under the MIT License.


All versions of auto-crud with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^12.0
illuminate/database Version ^12.0
illuminate/http Version ^12.0
illuminate/routing Version ^12.0
illuminate/validation Version ^12.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 chriskelemba/auto-crud contains the following files

Loading the files please wait ...