Download the PHP package nahid/crudx without Composer
On this page you can find all versions of the php package nahid/crudx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package crudx
crudx
CRUDX is a PHP based library for mysql query builder. Its easy and simple.
How to install
To install this package go to terminal and run this command
Usage
To use this package you have to include it. Include it from composer autoload
How to connect
You can connect by using this process;
Insert
Its too much important to inserting data in database table when you developing an application. Crudx make easy to inserting data in table. Crudx provide different type of insertion mechanism. First you can insert data with Laravel Eloquent style. Suppose you want to save name, username, email in users table. So what can you do?
Its like a piece of cake.
The second procedure. Its traditional way. You may called it CodeIgniter Style. However see how can you inserting data with this way.
What do you think? yes its Crudx, make easy development.
You may insert multiple records at once. Yes its true, just see what happend
Update
Making update rocord is so easy.
Delete
Sometimes you need to delete record from table. Crudx make it easy. Its just a single command
Fetching Record
Crudx provide you to differents type service to fetching record from table. Suppose you want to get all data of author role from table users
But if you want to add multiple condition with AND
operator then follow the process
you can use orWhere()
for OR operator and you can also use whereBetween()
`orBetween()
If you have to fetch specific table column then use get()
method and pass an array to specify table column
Join
Crudx provide you a simple joining method.
Get last inserted id
Get last generated query string
Sometimes you have to need which query string is generated by the last method. Crudx make it easy