PHPackages                             fly321/excel-annotation-export - 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. fly321/excel-annotation-export

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

fly321/excel-annotation-export
==============================

excel导注解导出

v1.0.5(2y ago)09MITPHPPHP &gt;=8.0

Since May 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fly321/excel-annotation-export)[ Packagist](https://packagist.org/packages/fly321/excel-annotation-export)[ RSS](/packages/fly321-excel-annotation-export/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

excel-annotation-export \[excel注解导出\]
=====================================

[](#excel-annotation-export-excel注解导出)

> PHP版本要求 &gt;= 8.0
>
> 仅支持PHP8注解方式

安装
--

[](#安装)

```
composer require fly321/excel-annotation-export
```

使用方式
----

[](#使用方式)

```
class FlyColumn
{
    #[ExcelColumnAnnotation(columnWidth: 20, columnName: 'area', columnFieldMapping: '地区')]
    public string $area;
    #[ExcelColumnAnnotation(columnName: 'country', columnFieldMapping: '国家', columnWidth: 30)]
    public string $country;
    #[ExcelColumnAnnotation(columnName: 'title', columnFieldMapping: '标题', columnWidth: 40)]
    public string $title;
}
```

```
writeOrExportExcel(
            \Tests\FlyColumn::class,
            'fly_table',
            [
                ['country' => 'China', 'title' => 'Beijing', 'area' => 'Asia'],
                ['area' => 'Asia', 'country' => 'Japan', 'title' => 'Tokyo'],
                ['area' => 'Europe', 'country' => 'France', 'title' => 'Paris'],
            ],
            true, "fly_table.xlsx");
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

731d ago

PHP version history (2 changes)v1.0.5PHP &gt;=8.0

v0.0.4PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/f783cd4791f64deee801883e74af7c2a7090e10320f4455e198a6a970de5c8fb?d=identicon)[xiflys](/maintainers/xiflys)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fly321-excel-annotation-export/health.svg)

```
[![Health](https://phpackages.com/badges/fly321-excel-annotation-export/health.svg)](https://phpackages.com/packages/fly321-excel-annotation-export)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[in2code/powermail

Powermail is a well-known, editor-friendly, powerful and easy to use mailform extension for TYPO3 with a lots of features

982.5M38](/packages/in2code-powermail)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

44763.4k2](/packages/pimcore-data-importer)[terminal42/contao-leads

Leads extension for Contao Open Source CMS; Store and manage form data with ease!

41167.9k10](/packages/terminal42-contao-leads)

PHPackages © 2026

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