PHPackages                             davidlienhard/functioncaller - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. davidlienhard/functioncaller

ActiveLibary[Utility &amp; Helpers](/categories/utility)

davidlienhard/functioncaller
============================

🐘 php library to call functions and catch triggered errors

1.1.5(5mo ago)012.9k4MITPHPPHP ^8.4CI passing

Since Feb 25Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/davidlienhard/functioncaller)[ Packagist](https://packagist.org/packages/davidlienhard/functioncaller)[ Docs](https://github.com/davidlienhard/functioncaller/)[ RSS](/packages/davidlienhard-functioncaller/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (4)

davidlienhard/functioncaller
============================

[](#davidlienhardfunctioncaller)

🐘 php library to call functions and catch triggered errors

[![Latest Stable Version](https://camo.githubusercontent.com/9f6b1fb843c0709fd1b2da8ac0289a27fc394e8fc8703e2e7463013d7284ee29/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64617669646c69656e686172642f66756e6374696f6e63616c6c65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/davidlienhard/functioncaller)[![Source Code](https://camo.githubusercontent.com/091c3e79fc6d6a478929346e38f9f7b443bf148fc17024417a44d29c4035b5e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d64617669646c69656e686172642f66756e6374696f6e63616c6c65722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/davidlienhard/functioncaller)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/davidlienhard/functioncaller/blob/master/LICENSE)[![Minimum PHP Version](https://camo.githubusercontent.com/7f91fd16f805b376c8b9137ddc479aabdc9f79d19807832f85606cb3b74409c4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![CI Status](https://github.com/davidlienhard/functioncaller/actions/workflows/check.yml/badge.svg)](https://github.com/davidlienhard/functioncaller/actions/workflows/check.yml)

Setup
-----

[](#setup)

You can install through `composer` with:

```
composer require davidlienhard/functioncaller:^1

```

*Note: davidlienhard/functioncaller requires PHP 8.0*

Example
-------

[](#example)

```
