Download the PHP package ixnode/php-exception without Composer

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

PHP Exception

Release PHP PHPStan PHPCS LICENSE

This library offers some ready to use PHP Exceptions.

Exception Classes

Group Array

Array

Name

Parameter

Usage
ArrayKeyNotFoundException string $key Used to indicate that a key in an array does not exist.
ArrayCountException none Used to indicate that two given arrays do not match in size.

Group Case

Case

Name

Parameter

Usage
CaseInvalidException string $given
array $expected
Used to indicate that a specified case is not supported (match, switch, etc.).
CaseUnsupportedException string $case Used to indicate that a specified case is not supported (logic missing things, etc.).

Group Class

Class

Name

Parameter

Usage
ClassInvalidException string $class
string $expected
Used to indicate that a given or passed class is invalid.

Group Configuration

Configuration

Name

Parameter

Usage
ConfigurationMissingException string $hint Used to indicate that a configuration or an action is missing.

Group Db

Db

Name

Parameter

Usage
DbEntityNotFoundException string $class Used to indicate that a db entity was not found.

Group File

File

Name

Parameter

Usage
FileNotFoundException string $path Used to indicate that a given file was not found.
FileNotReadableException string $path Used to indicate that a given file is not readable.
FileNotWriteableException string $path Used to indicate that a file cannot be written.

Group Function

Function

Name

Parameter

Usage
FunctionCurlExecException string $error
string $url
Used to indicate that the curl_exec function is not working properly.
FunctionFOpenException none Used to indicate that the function fopen does not work properly.
FunctionJsonEncodeException none Used to indicate that an object cannot be converted into a JSON string.
FunctionReplaceException string $replacePattern Used to indicate that a value could not be replaced (str_replace, preg_replace, etc.).

Group Parser

Parser

Name

Parameter

Usage
ParserException string $parseString
string $context
Used to indicate that a given string could not be parsed.

Group Type

Type

Name

Parameter

Usage
TypeInvalidException string $expected
?string $given = null
Used to indicate that a given or passed variable is the wrong type.

Installation

Usage

Development

License

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


All versions of php-exception 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 ixnode/php-exception contains the following files

Loading the files please wait ....