Download the PHP package oyova/laravel-nova-prepopulate-searchable without Composer

On this page you can find all versions of the php package oyova/laravel-nova-prepopulate-searchable. 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 laravel-nova-prepopulate-searchable

This repository was forked from GeneaLabs/laravel-nova-prepopulate-searchable and they deserve all of the credit. We've only made minor changes to accommodate our software.

Prepoulate Searchable for Laravel Nova

A tool to allow BelongsTo searchable fields to be pre-populated with data

Latest Version on Packagist Total Downloads

Prepopulate Search

Sponsors

We thank the following sponsors for their generosity. Please take a moment to check them out:

Requirements

Installation

You can install the package in to a Laravel app that uses Nova via composer:

Usage

On any BelongsTo fields in your resources that are searchable(), you can also add prepopulate() to the method chain and the field will be prepopulated with values to choose from.

You may optionally pass through a search query to the prepopulate method, and the keywords passed will be used for the search initially, before resetting the search to being empty (as it currently is).

Limiting Pre-Populated Items

You can limit the prepopulated items by passing in a search string to the prepopulated() method like so:

This would prepopulate all archives that have test in their display field.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

Alex Bowers

Alex is the original developer of this package and has done a great job with initial development.

Mike Bronner

I started using this package and didn't want it to fall to the way-side, as it helps improve the UX of Nova significantly. Alex graceously allowed me to continue development and maintenance on his original package.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-nova-prepopulate-searchable with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
laravel/nova Version ^3.0
illuminate/support Version ^8.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 oyova/laravel-nova-prepopulate-searchable contains the following files

Loading the files please wait ....