解析器项目
php-parse
https://github.com/topics/parser?l=php&page=21
https://github.com/search?q=php+text+parse&type=repositories&p=2
==================
https://github.com/dodeca12/Micro?tab=readme-ov-file
php text parse
https://github.com/willdurand/EmailReplyParser
https://github.com/yosymfony/toml?tab=readme-ov-file A PHP parser for TOML
https://github.com/textile/php-textile
https://textile-lang.com/
https://github.com/aymanrb/php-unstructured-text-parser
这个功能 可以搞大文本匹配, 看着比较有意思
A PHP library to help extract text out of text documents that are not structured in a processing friendly manner
https://github.com/erusev/parsedown
Better Markdown Parser in PHP
https://github.com/Imangazaliev/DiDOM
Simple and fast HTML and XML parser
https://github.com/php-mime-mail-parser/php-mime-mail-parser
A fully tested email parser for PHP 8.0+ (mailparse extension wrapper).
基于上面的库做的 轻松管理开发人员和测试人员的收到的电子邮件 应用. 可以当 临时电子邮箱来使用, 每个月免费100封
https://parsica-php.github.io/docs/api/sideEffects
在 PHP 中构建强健解析器的最简单方法。
https://github.com/tufanbarisyildirim/php-apk-parser
https://github.com/thunderer/Shortcode
Advanced shortcode (BBCode) parser and engine for PHP
https://github.com/netgen/query-translator
Query Translator is a search query translator with AST representation
这个功能比较强大, 里面自带了一个查询语言 Galach
它是一个 具有 抽象语法树表示的搜索查询转换器。从生成的语法树中,翻译目标可以是您需要的任何内容。通常它是一个搜索后端,如 Solr 和 Elasticsearch,或一个数据库抽象层。
https://github.com/microformats/php-mf2
php-mf2 is a pure, generic microformats-2 parser for PHP. It makes HTML as easy to consume as JSON.
https://github.com/chrisyue/php-m3u8
An M3U8 parser / dumper in PHP.
https://github.com/SoftCreatR/JSONPath
https://github.com/pherrymason/PHP-po-parser
Parse Gettext *.PO files with PHP
https://github.com/Stillat/blade-parser
https://github.com/kiddyuchina/Beanbun
https://github.com/kiddyuchina/beanbun-parser
爬虫
https://github.com/Gregwar/RST
PHP library to parse reStructuredText documents
https://github.com/t1gor/Robots.txt-Parser-Class
Php class for robots.txt parse
https://github.com/geo-io/wkb-parser
Well-known binary (WKB) Parser.
https://github.com/VIPnytt/SitemapParser
XML Sitemap parser class compliant with the Sitemaps.org protocol.
https://github.com/denissimon/formula-parser
Formula Parser is a library for parsing and evaluating mathematical formulas given as strings.
公式解析器是一个用于解析和评估以字符串形式给出的数学公式的库。
数学计算, 支持 xyzab 五个变量
https://github.com/OzzyCzech/icalparser
Simple ical parser for PHP
https://github.com/poliander/cron
Parse and validate crontab expressions in PHP
https://github.com/aVadim483/fast-excel-reader
Lightwight and very fast XLSX Excel Spreadsheet Reader in PHP
https://github.com/KennedyTedesco/monkey
The Monkey Programming Language & Interpreter written in PHP.
用 PHP 编写的 Monkey 编程语言和解释器。
https://github.com/lesterchan/linkedin-pdf-resume-parser
Parse LinkedIn PDF Resume and extract out name, email, education and work experiences.
https://github.com/lywzx/php-epub
epub book parser and maker
php-epub is a php library, for epub reader and maker. We can use it to read the ebook file and extract to cdn domain.
写 目前尚不支持
https://github.com/shaarli/netscape-bookmark-parser
https://github.com/kdl-org/kdl-php
A PHP library for the KDL Document Language (pronounced like "cuddle").
https://github.com/silarhi/cfonb-parser
A zero dependencies PHP Parser for CFONB statements
Supports CFONB 120/240 format
https://github.com/bvanhoekelen/icalendar-php
📆 Create easily a full iCalendar subscription service. Compatible with the best Calendar Apps, Laravel and Composer.
https://github.com/bvanhoekelen/performance
⏱ PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.
-- 可以借鉴它 将qrkenlog 做成一个开源的程序, 挂 3.99$ 试水
https://github.com/bvanhoekelen/terminal-style
🎨 Return your terminal message in style! Change the text style, text color and text background color from the terminal, console or shell interface with ANSI color codes. Support for Laravel and Composer.
https://github.com/elnurxf/tap-az-parser
Tap.Az Ads Parser
某个 网站的 数据提取
https://github.com/thunderer/XSDragon
XSD to PHP generator, parser, and serializer.
什么是OPML? OPML的英文全拼是Outline Processor Markup Language,中文的意思是“大纲处理标记语言”,是建立在XML上的一种文件保存格式,主要用于描述一种 结构化的、树形的文档结构。
https://github.com/alorian/CustomQueryLanguage
这是基于 Symfony 框架编写的自定义查询语言演示应用程序。您编写查询,然后从数据库中获取所需的结果。
非常强大 , 一定要学习了, 可以独立出来做 解析服务
https://github.com/kivy/kivy
https://kivy.org/
https://kivy.org/doc/stable/gettingstarted/framework.html
https://www.bookstack.cn/read/Kivy-CN/README.md
Kivy中文编程指南
Kivy 基于 Python,界面文件和程序文件相互分离的设计思路,设计简洁优雅,语法易学,适合新人入门。
https://www.gitbook.com/?utm_source=legacy&utm_medium=redirect&utm_campaign=close_legacy
https://github.com/Perryvw/PHPValveKV
Valve 的 KV 格式的解析器,用 PHP 编写。
https://github.com/rhymeswithmogul/security-txt-parser
Fetch and parse a website's security.txt file.
https://github.com/eno-lang/enophp
https://eno-lang.org/
https://eno-lang.org/guide/elements/fieldsets/
Eno · A Data Language For Everyone
PHP library for parsing, loading and inspecting eno documents
这个看着不错, 学习一下
https://github.com/kminek/marklink
Marklink - a simple standard allowing embedding (and parsing) categorized lists of links inside Markdown files
片段分类的解析, 这个也很不错,要掌握
https://github.com/hsdn/wdparser?tab=readme-ov-file
https://github.com/hsdn/metar-taf
http://www.weather-display.com/
PHP Weather-Display data files parser
Weather Display 是一款可以最大程度发挥气象站功能的软件。它不仅支持所有主要制造商的大量气象站,还具有丰富的功能和选项
https://github.com/geo-io/wkt-parser
https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry
A parser which transforms Well-known text (WKT) representations into geometric objects.
是一种用于表示矢量几何对象的文本标记语言, 几何图形的坐标
https://github.com/hans-thomas/ashei
Epub parser for php
https://github.com/spaghettisolutions/xlsx-parser
Very simple to implement xlsx parser to extract data from spreadsheets for php 8.1+
https://github.com/EXayer/vdf-converter
Efficient, fast Valve Data Format (*.vdf) stream parser
https://github.com/phpbg/mpegts
This is a pure PHP MPEG TS library, developed with performance in mind
MPEG-TS一种标准数据容器格式,传输与存储音视频、节目与系统信息协议数据
https://github.com/fattureincloud/api-filter
类似 SQL 的过滤器的 PHP 解析器
city = 'Bergamo' and (age < 30 or (dev = true and (name = 'Giorgio' and surname is not null) or employer starts with 'Fatture'))
可解析出来, 待会试试
看着非常强大, 完全可以用来取代 接口参数用
https://www.antlr.org/
https://github.com/antlr/antlr4/blob/master/doc/php-target.md
https://github.com/antlr/antlr4/tree/dev/doc
要学习 antlr4 的使用, 学好了 能自己实现简单的推理 语言
https://github.com/fabiang/dateparser
Date parsing library supporting the full format RFC3339
https://github.com/perlamutr/php-rdb-parser
Redis RDB file parser in pure PHP
https://github.com/sasha-bo/nginx-conf-parser
Parsing nginx.conf files with/without following includes
https://github.com/xepozz/clk-parser
Parses *.clk buffers and presents table name, columns and values as separated entities.~
这个不错
.clk是一种精密钟差格式,用于描述时钟信号的精确度和稳定性。 它是一种常见的时钟精度标准,被广泛应用于计算机、通信、航空航天等领域。
https://github.com/jonaskohl/UMFParser.git
自定义的 UMF 文件格式的解析器。有点意思, 拿来做配置文件
# This is a comment
string "NameOfString" "Value"
number "NameOfNumber" 4.02
boolean "NameOfBoolean" true
array<number> "NameOfNumberArray" (0, 1, 2)
array<string> "NameOfStringArray" ("test1", "test2", "test3")
array<boolean> "NameOfBoolArray" (true, false, false, true)
https://github.com/silarhi/caf-parser
https://silarhi.fr/
A PHP parser for French CAF (Caisse d'Allocations Familiales) files.
https://github.com/kminek/url-id
Extract resource IDs (e.g. YouTube video ID) from URLs like a pro!
支持好些个 社交媒体
https://github.com/phanan/htaccess
A collection of useful .htaccess snippets.
https://github.com/fcambus/nginx-resources
A collection of resources covering Nginx, Nginx + Lua, OpenResty and Tengine
https://github.com/splitbrain/php-archive
Pure-PHP implementation to read and write TAR and ZIP archives