Download the PHP package satwareag/php-firebird-stubs without Composer

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

PHP Firebird Extension Stubs

PHP Version

IDE autocompletion and static analysis stubs for the php-firebird extension.

Installation

Purpose

This package provides stub files that enable:

What's Included

Usage

PHPStan

The stubs are automatically loaded via Composer's autoload. If you need to reference them explicitly in your phpstan.neon:

Psalm

Add to your psalm.xml:

IDE Configuration

Most IDEs will automatically pick up the stubs via Composer autoloading. No additional configuration is typically required.

Included Functions (v7.0.0)

All fbird_* functions are stubbed, including v7.0.0 additions:

Function Description
fbird_query_params_tx($link, $trans, $sql, ?$params) Explicit link + transaction + params (Doctrine DBAL)
fbird_execute_statement($stmt) Execute a prepared statement resource
fbird_execute_query($link, $sql, ...$params) Execute SQL with optional params
fbird_execute_auto($link, $sql, ...$params) Auto-commit execution helper
fbird_set_exception_mode(int $mode) Set SILENT/THROW error mode
fbird_get_exception_mode() Get current error mode
fbird_trans_start($link, array $options) Full TPB transaction builder
fbird_savepoint($trans, string $name) Create named savepoint
fbird_rollback_savepoint($trans, string $name) Rollback to savepoint
fbird_release_savepoint($trans, string $name) Release savepoint
fbird_connection_info($link) Connection metadata
fbird_trans_info($trans) Transaction state info
fbird_blob_seek($blob, int $offset, int $whence) Seekable BLOB access
fbird_batch_create($stmt, $trans) Create batch (FB 4.0+)
fbird_batch_add($batch, ...$params) Add row to batch
fbird_batch_execute($batch) Execute batch
fbird_batch_cancel($batch) Cancel batch
fbird_escape_string(string $str) Escape string for SQL

All classic fbird_connect, fbird_query, fbird_prepare, fbird_execute, fbird_fetch_*, fbird_trans, fbird_commit, fbird_rollback, fbird_blob_*, fbird_service_*, and event functions are also stubbed.

Version Compatibility

Stubs Version Extension Version PHP Version
7.0.x 7.0.x ≥8.1

Related Packages

License

PHP License 3.01 - Same as PHP itself.

Author

satware AG - https://satware.com


All versions of php-firebird-stubs with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
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 satwareag/php-firebird-stubs contains the following files

Loading the files please wait ...