Download the PHP package youbar/easy-crud without Composer

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

easy-crud

tests packagist docs

Convention-driven CRUD controllers for Laravel. Magic by default, overridable everywhere.

Most Laravel APIs contain the same controller forty times: list a model with pagination, show one, create one, update one, delete one. easy-crud writes that part once, without assuming your project is laid out like anyone else's.

That is a working, paginated, policy-aware JSON API.

easy-crud ships no conventions, so it assumes nothing about your namespaces: out of the box it returns plain JSON and validates nothing. Tell it where your resource and request classes live, once, and it finds them for every model from then on.

Installation

Requires PHP 8.2+ and Laravel 12 or 13.

The idea

One config table maps a role to a pattern, and it ships empty:

Ordered candidates, a {SubNamespace} placeholder for models grouped into folders, a {Domain} one for modular layouts, or a closure when no pattern fits.

A row only answers which class. The package acts on three of them — resource, collection and request. Any other row resolves a class and waits for you to read it in an override, which is how a service, action or repository layer plugs in without the package knowing anything about it.

Three levels

Conventions Declare a model. Add a pattern per role, and every model resolves from it.
Method overrides ~15 named, typed, defaulted protected methods. Override what you need.
Contracts Rebind class resolution, authorization or transformation wholesale.

Seeing what it decided

Scaffolding

Generates the controller plus the resource and request classes — at the exact paths your conventions look in, so what it writes is guaranteed to be found.

Documentation

youbar.nl/docs/easy-crud

The pages live in docs/content as plain Markdown and are rendered by youbar.nl, which pulls this directory straight from git. Editing docs needs no toolchain.

Contributing

See CONTRIBUTING.md. In short: conventional commits, squash merges, composer test green.

License

MIT. See LICENSE.md.


All versions of easy-crud with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^12.0|^13.0
illuminate/container Version ^12.0|^13.0
illuminate/contracts Version ^12.0|^13.0
illuminate/database Version ^12.0|^13.0
illuminate/http Version ^12.0|^13.0
illuminate/routing Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
illuminate/validation Version ^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 youbar/easy-crud contains the following files

Loading the files please wait ...