Download the PHP package litto/mysql without Composer

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

MYSQL Library

Mysql Library for CRUD Functions

When you do a project in php related to web, the main thing you have to came across is the management of database.This all functions including,connecting to database,retreiving values from databse,deleting,updating,inserting....etc.. so by including the library file iam providing below, you can just call that functions in your code and do all operations very fast without manually writing functions again and again:-

How to Install?

Install the Library via composer using:-

composer require litto/mysql:v1.0

Folder Structure

-config.php // including connection variables which will be autoloading by the Mysql libraries and classes -autoload.php // autoload classes by declaration from libs library -demo.php // demo on how to initilise and call each functions -/libs // folder for saving all lib files

How it Works?

1) Zip the package to your Website root 2) Make sure config.php, autoload.php files are in root and libs folder contains Mysql.php library file 3) Now in your file include both config an autoload files. 4) In config.php file, please update your db credentials 5) Now we have to create library files for your database tables by defining library functions extending Mysql

for eg:- If you have a cms_user table, for defining functions for DB transactions for this table define library like this.

6) Now For calling these Function , suppose in your index.php file..

You just have to intilize it like:-

$obj=new User(); $records=$obj->getall();

or $record=$obj->getdetails($id);

Like this you can call, all the functions defined...

7) Make class files for all the tables you need..


All versions of mysql with dependencies

PHP Build Version
Package Version
Requires php 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 litto/mysql contains the following files

Loading the files please wait ....