Download the PHP package joonas1234/nova-nested-form without Composer

On this page you can find all versions of the php package joonas1234/nova-nested-form. 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 nova-nested-form

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads

HOX!!

This package is a clone from https://github.com/yassipad/laravel-nova-nested-form. All the credit goes to yassipad. I only applied this pull request to fix bug in newer Nova: https://github.com/yassipad/laravel-nova-nested-form/pull/68

Nova Nested Form

This package allows you to include your nested relationships' forms into a parent form.

Release note for 2.0.5

Important changes since 1.0.4

To be more consistent with Nova's other fields, the order of the parameters has changed to become:

For instance, this:

Is now the same as:

Also, translations are now available in your nested field! You just need to add this key in you language file:

Installation

Attach a new relationship form to a resource

Simply add a NestedForm into your fields. The first parameter must be an existing NovaResource class and the second parameter (optional) must be an existing HasOneOrMany relationship in your model.

You can also nest your relationship forms by adding another NestedForm into the fields of your App\Nova\Post.

NEW: Add a callback before and/or after your relationships have been updated

For instance, if you have to modify a value on the request before the nested form is filled or trigger an event after all relations have been set, you can now simply use this:

Add a minimum or a maximum number of children

For instance, if you want every user to have at least 3 posts and at most 5 posts, simply use:

When creating a new user, 3 blank posts will be displayed. If you reach the maximum number of posts, the "Add a new post" button will disappear.

Set the default open/collapse behavior

If you want the nested forms to be opened by default, simply use:

You can also decide to open only the first nested form by using:

Modify the default heading

You can modify the default heading using the heading() method. You can use wildcards to add dynamic content to your label such as '{{id}}', '{{index}}' or any attribute present in the form.

Modify the index separator

You can modify the default index separator using the separator() method when you have nested forms (e.g. 1. Post, 1.1. Comment, 1.1.1. Like).


All versions of nova-nested-form with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.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 joonas1234/nova-nested-form contains the following files

Loading the files please wait ....