Download the PHP package vnbase/vnbiz without Composer

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

Util Functions

vnbiz_get_var(&$var, $default = null)

vnbiz_get_key(&$var, $key, $default = null)

vnbiz_str_starts_with($string, $startString)

vnbiz_assure_valid_name($name)

Handler

vnbiz_handle_restful()

for /api

VnBiz Functions

vnbiz()

Get Vnbiz Instance

vnbiz_model($model_name)

Get Model Definition Object

vnbiz_model_add($model_name)

Create new Model

vnbiz_get_model_field_names($model_name)

Get array of field name

vnbiz_assure_model_name_exists($model_name)

Will throw VnBizError if the model doesn't exist

vnbiz_do_action($name, &$context)

Execute an action

vnbiz_add_action($name, $func)

Register an action

vnbiz_do_service($service_name, $params = [])

Execute a service (action "service_*)

vnbiz_model_delete($model_name, $filter)

delete model

vnbiz_sql_generate()

generate and return sql script

vnbiz_sql_alter_tables()

generate & execute sql script

Authentication

vnbiz_user()

Get Current Logged in User.

vnbiz_user_has_permissions(..)

Return TRUE if the current user has one of the permissions on the params.   

Model Functions

vnbiz_model_create($model_name, $model)

Create an model object & persist to database

vnbiz_model_search(&$context)

Search from database

vnbiz_model_count($model_name, $filter = [])

Count rows by filter

vnbiz_model_find($model_name, $filter = [], $meta = ['limit' => 10, 'offset' => 0])

Find or search

vnbiz_model_find_one($model_name, $filter = [], $meta = [])

find first row

vnbiz_model_update($model_name, $filter, $model, $meta = [])

Update a model data

Example Search

To Use

web_before_XXX
web_XXX db_before_xxx START_TRANSACTION

                                    db_begin_XXX

                                    db_before_commit_XXX
                                                        COMMIT()
                                    db_after_commit_XXX

                            [ROLLBACK]
                                    [db_rollback_XXX]

                                    db_end_XXX
                            END_TRNSACTION
                db_after_XXX

web_after_XXX


All versions of vnbiz with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.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 vnbase/vnbiz contains the following files

Loading the files please wait ....