Download the PHP package patrick-hull/mysql-wrapper without Composer

On this page you can find all versions of the php package patrick-hull/mysql-wrapper. 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 mysql-wrapper

MysqlWrapper

MysqlWrapper is a PHP library designed to simplify database operations with MySQL. This package provides a straightforward and elegant interface for performing common database queries, including insert, update, delete, and select operations.

Table of Contents

Installation

Note: This software is still considered in beta. Use at your own risk

You can install the package via Composer. Run the following command:

Usage

DbConnection

The DbConnection class is responsible for establishing a connection to the MySQL database.

DeleteQuery

The DeleteQuery class allows you to delete records from a specified database table based on criteria.

InsertQuery

The InsertQuery class enables you to insert new records into a specified database table.

UpdateQuery

The UpdateQuery class is used to update existing records in a database table based on specified criteria.

SelectQuery

The SelectQuery class allows you to retrieve data from a database table with various filtering options.

In the SelectQuery class, you are also able to leverage Redis as a caching solution. See an example below:

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss potential improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.



All versions of mysql-wrapper with dependencies

PHP Build Version
Package Version
Requires ext-mysqli Version *
ext-redis Version *
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 patrick-hull/mysql-wrapper contains the following files

Loading the files please wait ....