Download the PHP package ssnepenthe/wpdb-engine-for-latitude without Composer

On this page you can find all versions of the php package ssnepenthe/wpdb-engine-for-latitude. 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 wpdb-engine-for-latitude

wpdb-engine-for-latitude

Use the latitude query builder to build queries for use in wpdb.

Warning

This package is currently in development and is subject to breaking changes without notice until v1.0 has been tagged.

It is one in a series of WordPress toys I have been working on with the intention of exploring ways to modernize the feel of working with WordPress.

As the label suggests, it should be treated as a toy.

Installation

Usage

Start by reviewing the latitude documentation. Using this package will be largely the same.

The important differences are noted below:

WpdbEngine

The engine provided to the query factory should always be an instance of WpdbEngine:

Field Function

In place of the Latitude\QueryBuilder\field() function, use WpdbEngineForLatitude\field():

Search Function

In place of the Latitude\QueryBuilder\search() function, use WpdbEngineForLatitude\search():

With Wpdb

Once you have compiled a query instance you should pass the sql and params through the wpdb->prepare() method to get your final query string:

And finally use it with any of the wpdb query methods:

More Examples

Please refer to the tests in tests/CodeReferenceExamplesTest.php - The examples from the wpdb code reference page have been re-implemented there.


All versions of wpdb-engine-for-latitude with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
latitude/latitude Version ^4.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 ssnepenthe/wpdb-engine-for-latitude contains the following files

Loading the files please wait ....