Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
0cadf92
[DRAFT]: v3
melbahja Jan 6, 2026
ed4923f
[Improv]: robots.txt generator.
melbahja Jan 7, 2026
12863d7
[added]: change log
melbahja Jan 7, 2026
d3c529a
[added]: v3 robots text validator and test.
melbahja Jan 7, 2026
ab32312
[add] new php versions in wf tests
melbahja Jan 7, 2026
290a1d4
[removed] bing indexer class not needed since we use indexnowindexer
melbahja Jan 7, 2026
b5344b8
[removed] sitemap ping not supported and deprecated by almost all eng…
melbahja Jan 7, 2026
2b269d2
[add/refactor] search engine indexer clients.
melbahja Jan 7, 2026
bc95f2d
[added] new simple http client
melbahja Jan 7, 2026
5783e61
[change] add changelog for recent changes
melbahja Jan 7, 2026
ee78b82
formatting
melbahja Jan 10, 2026
a00279a
add Stringable to Schema interface
melbahja Jan 10, 2026
61424ff
changed Schema types and JSON output
melbahja Jan 10, 2026
0bfe4d4
schema rules
melbahja Jan 10, 2026
5806251
rewrite make schema validator handle more cases
melbahja Jan 10, 2026
c8ac65a
add supported and most used schema types
melbahja Jan 10, 2026
b7d58e6
tests passed the schema validation rules
melbahja Jan 10, 2026
5f0f127
readded schema gen tests
melbahja Jan 10, 2026
8242b6f
clear gh fs view
melbahja Jan 11, 2026
6f1935c
adds some methods and enhancments
melbahja Jan 11, 2026
5acef4f
test cases for meta tags.
melbahja Jan 11, 2026
883d007
add meta notes
melbahja Jan 11, 2026
652b4a5
make some tests clear
melbahja Jan 11, 2026
77ac58f
add pre setup hook for sitemap builders
melbahja Jan 17, 2026
dea893b
add v3 new sitemap output mode
melbahja Jan 17, 2026
49cb13d
add SitemapUrl item for sitemap builder traversable generators
melbahja Jan 17, 2026
7d3f0e5
The new sitemap v3 design x10 faster with modern XML writer and trave…
melbahja Jan 17, 2026
8ce5051
helpers for sitemap/v3
melbahja Jan 17, 2026
ce960e1
Various formatting fixes
melbahja Jan 17, 2026
0afc8eb
tests for sitemaps
melbahja Jan 17, 2026
cc0a8f0
fixes and formating and use system new line in robots gen
melbahja Jan 17, 2026
cf28868
fix ns
melbahja Jan 17, 2026
12e34d2
fix for older php vers
melbahja Jan 17, 2026
dd942af
fixes for php <=8.3 and until we support stream
melbahja Jan 17, 2026
1ef2de7
php <= 8.4 stream mode workaround
melbahja Jan 17, 2026
e4b4cf7
php <= 8.4 stream mode workaround for index builder
melbahja Jan 17, 2026
cf5afbd
using method check for workaround
melbahja Jan 17, 2026
107c3ec
fix typo
melbahja Jan 17, 2026
397bf93
test fmt
melbahja Jan 17, 2026
ccea070
add more test cases
melbahja Jan 18, 2026
8da2890
add indexing mock testing
melbahja Jan 18, 2026
ffe68e9
add chain call in addition to __set
melbahja Jan 18, 2026
0c8f5f5
fmt
melbahja Jan 18, 2026
d30f430
reorder type and context
melbahja Jan 18, 2026
08c7258
update mata info
melbahja Jan 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .github/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
max-parallel: 2
max-parallel: 3
matrix:
os: [ubuntu-latest]
php: [7.2, 7.4, 8.0, 8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3, 8.4, 8.5]
experimental: [false]

name: PHP ${{ matrix.php }} test on ${{ matrix.os }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor
/composer.lock
/.idea
/.idea
/.phpunit.cache
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# CHANGELOG

## v3 - Jan/2026

### Breaking Changes:
* [ Robots ] [CHANGED] `bot()` method changed to `addRule()` - params structure is different
* [ Robots ] [CHANGED] `sitemap()` method renamed to `addSitemap()`
* [ Robots ] [CHANGED] `delay` array key renamed to `crawlDelay`
* [ Robots ] [ NEW ] `addComment()` - adds comments to robots.txt
* [ Robots ] [ NEW ] `saveTo()` - saves to file
* [ Robots ] [ NEW ] Implements `Stringable` interface
* [ Robots ] [REMOVED] Robots copyrights header removed
* [ Indexing ] [REMOVED] Sitemap Ping class, /ping?sitemap deprecated/removed by major search engines.
* [ Indexing ] [CHANGED] Refactored indexer classes!
* [ MetaTags ] [CHANGED] Return type changed from `MetaTags` to `self` for all methods
* [ MetaTags ] [CHANGED] Constructor supports array syntax for `og`, `twitter`, `link`, `meta`
* [ MetaTags ] [CHANGED] `robots()` now accepts string|array for options with associative array support
* [ MetaTags ] [CHANGED] `build()` now sanitizes attribute names to prevent XSS
* [ MetaTags ] [ NEW ] `verification()` - adds search engine verification meta tags
* [ MetaTags ] [ NEW ] `feed()` - adds RSS/Atom feed links
* [ MetaTags ] [ NEW ] `pagination()` - adds prev/next/first/last pagination links
* [ MetaTags ] [ NEW ] `hreflangs()` - batch method for multiple hreflang links with x-default support
* [ MetaTags ] [ NEW ] `articleMeta()` - adds article published/modified time and author
* [ MetaTags ] [ NEW ] `schema()` - adds schema object to be rendered with meta tags
Loading