Download the PHP package gabrielesbaiz/nova-ajax-select without Composer

On this page you can find all versions of the php package gabrielesbaiz/nova-ajax-select. 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-ajax-select

NovaAjax Select

A Laravel Nova select field whose options are resolved on the server — scoped to whatever the user picked a moment ago, searched in the database rather than the browser, and validated on the way back in.

Latest version Downloads Stars Sponsor

📖 Read the documentation →

Every method, a live chain you can click through, the option-shape normalizer with your own payload pasted in, and the upgrade path from 1.x.

[!CAUTION] Upgrading from 1.x? Nothing is required — get(), parent() and the NovaAjaxSelect class all still work. But 1.x shared its asset handle with alexwenzel/ajax-select, and with both packages installed one of the two bundles was never served. If you have both, remove the other one now. See the upgrade guide.

[!IMPORTANT] A ⭐ costs you nothing and helps other developers find this package. Sponsoring keeps it compatible with every new Laravel release.

What it does

Nova already has dependent fields. dependsOn() re-renders a field whenever another one changes, and inside that callback you can set options() from the new parent value. If your option sets are small and already in memory — a status list, twenty categories — use it, and skip this package. This one exists for the options that are too many to send, or that do not live in your database at all.

It is built on top of dependsOn() rather than beside it, so hide(), show(), your own dependsOn() callbacks and action modals all keep working — which the 1.x field could not manage.

Requirements

Installation

The service provider is auto-discovered and the compiled field ships with the package: no migrations, no tables, no assets to build. Both publish steps are optional — the defaults work untouched.

Full installation guide →

Documentation

Documentation site Everything: install, configure, operate.
Guide Every feature, in the order you need it.
API reference Every method, without the prose.
Upgrading from 1.x Read before you start.
CONTRIBUTING.md The threat model, and how to build.
CHANGELOG.md What changed, and when.

Testing

There is no CI. Those four commands are the contract.

Contributing

Thank you for considering contributing. The guide is in CONTRIBUTING.md.

Security vulnerabilities

Please review SECURITY.md for reporting a vulnerability. Please do not open a public issue.

Credits

Written and maintained by Gabriele Sbaiz.

The original field was written by alexwenzel and dillingham; this package began as a fork of it and owes them the idea. It builds on Laravel and Laravel Nova.

Support this package

If it is useful to you:

Sponsor on GitHub

Disclaimer

This package is provided as is, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, title and non-infringement. To the fullest extent permitted by applicable law, in no event shall the authors, copyright holders or contributors be liable for any claim, damages or other liability — whether in an action of contract, tort or otherwise — arising from, out of or in connection with this package or its use, including without limitation any direct, indirect, incidental, special, exemplary, consequential or punitive damages, loss of data, loss of profits, business interruption, or unauthorised access to or disclosure of information.

This package executes application-supplied closures during authorized Nova requests and can cache their results. Whoever deploys it is responsible for what those closures return and who may see it. That responsibility includes, and is not limited to, scoping option queries to the current user or tenant, setting cacheScope() when cached options are not global, deciding whether option validation is sufficient for your threat model, and reviewing the code yourself before putting it in front of data you cannot afford to leak. Nothing here constitutes security, legal or compliance advice.

Use of this package is entirely at your own risk.

License

MIT. See LICENSE.md. The MIT licence's warranty disclaimer and limitation of liability apply in full, alongside the disclaimer above.


All versions of nova-ajax-select with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^12.0|^13.0
laravel/nova Version ^5.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 gabrielesbaiz/nova-ajax-select contains the following files

Loading the files please wait ...