Download the PHP package abno/abncrud without Composer

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

ABN CRUD (Laravel Package)

ABN CRUD is a Laravel package that lets you scaffold powerful CRUD screens quickly, auto-generate forms from your database schema, and customize fields with reusable UI components.

Key features

1) Installation

  1. Require the package (e.g., via path/VCS or Packagist):

  2. The service provider is auto-discovered via composer extra. If you disable discovery, register it manually in config/app.php:

2) Publish config and assets

Assets will be available under public/vendor/abncrud.

3) Views

The package registers views under the namespace AbnCmsCrud.

Example inside your CRUD controller:

Packaged views include table, form and single-view screens.

4) Quick start (generator)

Generate model and controller for a given table:

What you get:

5) Define your CRUD controller

Your controller should extend the base CrudController, set the module slug and model, and optionally the title and theme.

6) Register routes

There are two ways to register routes.

This will register:

The package also exposes a helper route for component rendering:

7) How forms and tables are built

ABN CRUD auto-inspects your model’s table to guess field components:

You can override per-field behavior via config/crud.php.

8) Configure fields (config/crud.php)

When you publish config, you’ll get config/crud.php similar to:

Example: humanize a branch_id in the table view and render images:

Example: form defaults and select options:

9) Permissions

The base controller checks permissions via getPermissions() which you can implement on your controller. Returning 'superadmin' or a map containing "{module}___{action}" keys allows the action. For example:

Actions checked: view, add, edit, delete, and status.

10) Endpoints generated

Given public static $module = 'posts', the following will be registered:

11) Advanced: live updates in forms

Forms support live updates for dependent fields. Emit live_listners/live_emitter in the request; the controller will re-render target fields and return HTML snippets in JSON. See CrudController::liveUpdate() for details.

12) Component reference (selected)

Common components you can use in config/crud.php or when customizing builders:

13) Example end-to-end

1) Migration with a slug and status column (recommended by defaults):

2) Model: App\Models\Post

3) Controller:

4) Routes:

Visit /posts to use the CRUD UI.

14) Helper route for components

The package registers:

It returns rendered component HTML based on the current request and is used internally for dynamic UI behaviors.

15) Support


All versions of abncrud with dependencies

PHP Build Version
Package Version
No informations.
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 abno/abncrud contains the following files

Loading the files please wait ...