Download the PHP package rollerworks/search-dev without Composer

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

RollerworksSearch

About RollerworksSearch

RollerworksSearch is a powerful search-system for PHP. Created to make searching in a PHP powered application as simple and fast as possible.

Whether you want to search for users in your SQL database, want to provide a powerful search system for searching products using an ElasticSearch back-end or are looking for a way to abstract filtering for a reporter.

:warning: RollerworksSearch v2.0 is not stable yet, backward compatible changes should be expected.
If you are looking for a stable version, please wait for a final v2.0 release.

How about complex data structures?

A complex data is structure is no problem, say your customer data is stored in the "customer" table, the "invoices" data is stored in it's own table, and the details of the invoices have there own table.

Instead of writing a very verbose SQL query, your users can use the easy to learn StringQuery syntax:

invoice-price: > $20.00; invoice-row-label: ~*"my cool product"; customer-type: !consumer.

You just searched in three relational tables using a single condition with a user-friendly syntax. And that is just the start, RollerworksSearch can work with any locale, custom input format, or storage system.

Search conditions can be as simple or complex as you need them to be. Including grouping and nesting for the best possible result.

Features

RollerworksSearch provides you with most of the features you would expect from a search system, including:

And support for the most poplar storage systems.

Installation and usage

Please ignore the instructions below if your use a framework integration.

Read the Documentation for complete instructions and information.

Install the RollerworksSearch "core" library using Composer:

And create the SearchFactory to get started.

That's it! The $condition contains the SearchCondition in a normalized data format which can be used in a condition processor (like ElasticSearch), or be exported into another format like JSON for easier usage in a URL.

Note: RollerworksSearch is composed of multiple separate packages (to keep the architecture slim), the "core" package provides everything you need to get started.

Searching a (document) storage requires the installation of additional packages.

What about validation?

Each field type ensures the value is transformed to the correct format, either a date input is automatically transformed to a DateTimeImuttable object.

A field that expects an integer will fail when the provided input is not an integer.

To enforce more strict constraints like a maximum amount for an integer field you can use the Symfony Validator extension.

Resources

Who is behind RollerworksSearch?

RollerworksSearch is brought to you by Sebastiaan Stok.

License

RollerworksSearch is released under the MIT license.

The types and extensions are largely inspired on the Symfony Form Component, and contain a big amount of code from the Symfony project.

Support

Use the issue tracker to create a new support question.

Note: Please be patient, it might take some time before your question is answered. Do not ping the maintainers.

Contributing

This is an open source project. If you'd like to contribute, please read the Contributing Guidelines. If you're submitting a pull request, please follow the guidelines in the Submitting a Patch section.

Note: RollerworksSearch is developed in a monolith repository, do not open pull request against repositories marked as [READ-ONLY], thank you.


All versions of search-dev with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
nesbot/carbon Version ^2.38 || ^3.0
psr/container Version ^1.0 || ^2.0
symfony/intl Version ^6.4 || ^7.0
symfony/options-resolver Version ^6.4 || ^7.0
symfony/property-access Version ^6.4 || ^7.0
symfony/string Version ^6.4 || ^7.0
symfony/translation-contracts Version ^3.4
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 rollerworks/search-dev contains the following files

Loading the files please wait ....