PHPackages                             mhlavac/symfony2-ant - 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. mhlavac/symfony2-ant

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

mhlavac/symfony2-ant
====================

Ant macros and builds to ease your ant configuration

151Shell

Since Jun 26Pushed 12y ago1 watchersCompare

[ Source](https://github.com/mhlavac/symfony2-ant)[ Packagist](https://packagist.org/packages/mhlavac/symfony2-ant)[ RSS](/packages/mhlavac-symfony2-ant/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Not ready yet
-------------

[](#not-ready-yet)

Please keep in mind that this script is work in progress and it is not working 100% correct yet.

Symfony 2 ant macros and builds
===============================

[](#symfony-2-ant-macros-and-builds)

Ant build definitions to make your life little easier. This scripts comes with 4 main targets:

- build - Prepares whole application for production
- test - Tests application
- develop - Prepares application for development
- gitRegisterHooks - Handy tool for registering basic hooks for pre-commit and post-checkout

How to add new script to execution
----------------------------------

[](#how-to-add-new-script-to-execution)

You can alter build.xml script. To do so copy it from `vendor/mhlavac/symfony2-ant/build.xml` to your project's root. After you copy it you can edit your version anyway you want.

What's inside?
--------------

[](#whats-inside)

- Composer macros - composerInstall, composerOptimize
- PHP macros - phpClearApcCache, phpUnit
- Symfony2 macros - sf2Console, sf2DatabaseCacheClear, sf2CacheWarmup, sf2CacheClear, sf2CacheClearAll, sf2RouterDumpApache
- Linux macros - rsync
- Basic build script for building your app, preparing it for development and testing your app

License
-------

[](#license)

This project is under MIT license, you can use it for free for any means. You can also alter it as you like ;-)

Thank you
---------

[](#thank-you)

Lastly i want to thank you for reading to this point and for using my symfony2 build scripts. If you have any ideas or if you found any bugs please report them as issues on github.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/743421?v=4)[Martin Hlavac](/maintainers/mhlavac)[@mhlavac](https://github.com/mhlavac)

---

Top Contributors

[![mhlavac](https://avatars.githubusercontent.com/u/743421?v=4)](https://github.com/mhlavac "mhlavac (10 commits)")

### Embed Badge

![Health badge](/badges/mhlavac-symfony2-ant/health.svg)

```
[![Health](https://phpackages.com/badges/mhlavac-symfony2-ant/health.svg)](https://phpackages.com/packages/mhlavac-symfony2-ant)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
