PHPackages                             xf3/met - 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. xf3/met

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

xf3/met
=======

MET class provides way to overcome Php's max\_execution\_time directive by splitting script execution into parts

0221PHP

Since May 6Pushed 12y ago2 watchersCompare

[ Source](https://github.com/xf3/met)[ Packagist](https://packagist.org/packages/xf3/met)[ RSS](/packages/xf3-met/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#MET

MET library allows to overcome Php's `max_execution_time` limit by splitting code execution into parts.

\##Description

In case you cannot modify Php's `max_execution_time` directive and need to execute long-running script, you can use MET to split it and rerun itself each time limit is close with saving done changes.

Before run, class checks the ability to save data: \* Start session for web request \* Execute `php self_script.php` for CLI mode

\###Usage examples

Say you have some script, which imports big database data into file:

```
