PHPackages                             niekoost/dxfighter - 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. niekoost/dxfighter

ActiveLibrary

niekoost/dxfighter
==================

Fork of enjoping/dxfighter to work with DXF in PHP

1.1.2(3y ago)041BSD-3-ClausePHP

Since Mar 16Pushed 3y agoCompare

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

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

DXFighter [![Build Status](https://camo.githubusercontent.com/60d900a4ddf0ab19b2324ed81103873cb1768f5a6faf1b7e382d2f29b3005d04/68747470733a2f2f7472617669732d63692e6f72672f656e6a6f70696e672f4458466967687465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/enjoping/DXFighter) [![alert_status](https://camo.githubusercontent.com/522503649b2d9784072b7b7e1fea302ecbf93751e9297767f0b19213d024fb5a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d445846696768746572266d65747269633d616c6572745f737461747573)](https://camo.githubusercontent.com/522503649b2d9784072b7b7e1fea302ecbf93751e9297767f0b19213d024fb5a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d445846696768746572266d65747269633d616c6572745f737461747573) [![coverage](https://camo.githubusercontent.com/3aa9f583d31ed9a80d803d0f86419405f1de8902cd7145e309b62df4d4662df7/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d445846696768746572266d65747269633d636f766572616765)](https://camo.githubusercontent.com/3aa9f583d31ed9a80d803d0f86419405f1de8902cd7145e309b62df4d4662df7/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d445846696768746572266d65747269633d636f766572616765) [![security_rating](https://camo.githubusercontent.com/4a18af36e8528d96dac67095a6b2a2465cef73f61219520e33e2f931fac18491/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d445846696768746572266d65747269633d73656375726974795f726174696e67)](https://camo.githubusercontent.com/4a18af36e8528d96dac67095a6b2a2465cef73f61219520e33e2f931fac18491/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d445846696768746572266d65747269633d73656375726974795f726174696e67) [![vulnerabilities](https://camo.githubusercontent.com/a061fb95087a1a00914e0eb392af67312d92d75fcca975133c80289aafa9511a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d445846696768746572266d65747269633d76756c6e65726162696c6974696573)](https://camo.githubusercontent.com/a061fb95087a1a00914e0eb392af67312d92d75fcca975133c80289aafa9511a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d445846696768746572266d65747269633d76756c6e65726162696c6974696573)
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#dxfighter-----)

[![DXFighter](logo.png)](logo.png)
**!Currently not actively developed!**
A new DXF writer and reader in PHP which outputs AC1012 (R15) DXF files.
This project is based on [@digitalfotografen/DXFwriter](https://github.com/digitalfotografen/DXFwriter). It's a great tool for basic DXF exports which don't rely on the newest DXF version. Sadly I needed an export which includes ellipses so I've started writing my own exporter based on his work. As we've needed this for a project the code was written as fast as possible so I need a lot of refactoring in the beginning.
The basic implementation is done and you can use it for your projects. The library currently supports reading and writing for some entity types (see the list below). If you need help please have a look at the example.php file or open an issue.

[Getting started guide](https://github.com/enjoping/DXFighter/wiki/GettingStarted)[Documentation](https://github.com/enjoping/DXFighter/wiki/Documentation)[Example code](example.php)

Current development status
--------------------------

[](#current-development-status)

A first implementation of reading and writing is done. At the moment no active development is done as I don't need this project in production anymore. If you want to use DXFighter in your projects but need additional support for entity types just open an Issue. I'm happy to help.

### At the moment the library supports writing for following entity types:

[](#at-the-moment-the-library-supports-writing-for-following-entity-types)

- Arcs
- Circles
- Ellipses
- Lines
- LWPolyline
- Points
- Polyline
- Text
- Spline
- Insert

### At the moment the library supports reading for following entity types:

[](#at-the-moment-the-library-supports-reading-for-following-entity-types)

- Ellipses
- Lines
- Polyline
- Text
- Spline
- Insert

License
-------

[](#license)

This project is published under BSD 3-Clause licence. More information can be found in [the LICENSE file](LICENSE).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.4% 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.

###  Release Activity

Cadence

Every ~561 days

Total

2

Last Release

1319d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77880ee80632103b522c02f4db84965ed37f3beaa9f5dc95fcb80ca2b881e992?d=identicon)[niekoost](/maintainers/niekoost)

---

Top Contributors

[![enjoping](https://avatars.githubusercontent.com/u/8014514?v=4)](https://github.com/enjoping "enjoping (81 commits)")[![atimmer](https://avatars.githubusercontent.com/u/584693?v=4)](https://github.com/atimmer "atimmer (15 commits)")[![azercon](https://avatars.githubusercontent.com/u/59962763?v=4)](https://github.com/azercon "azercon (4 commits)")[![alexdunne](https://avatars.githubusercontent.com/u/5383225?v=4)](https://github.com/alexdunne "alexdunne (1 commits)")[![NielsdeBlaauw](https://avatars.githubusercontent.com/u/661876?v=4)](https://github.com/NielsdeBlaauw "NielsdeBlaauw (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/niekoost-dxfighter/health.svg)

```
[![Health](https://phpackages.com/badges/niekoost-dxfighter/health.svg)](https://phpackages.com/packages/niekoost-dxfighter)
```

PHPackages © 2026

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