Alexandre Daubois
fba79a6ac8
feat(extgen): make the generator idempotent and avoid touching the original source ( #2011 )
2026-02-05 12:50:28 +01:00
Alexandre Daubois
c6b2b02277
fix(extgen): correctly handle const blocks to declare iota constants ( #2086 )
...
While continuing the work on #2011 , I realized that constant
declarations have a problem when using `iota`. I mean, it technically
works, but const *blocks* we not supported which means that setting all
constants to `iota` as shown in the documentation was non-sensical, as
`iota` resets every time outside of const blocks.
So, this is between the bug fix and the feature. To me, it's a bug fix
as the behavior wasn't the one intended when creating extgen.
2026-01-12 15:44:46 +01:00
Kévin Dunglas
14c7db1cd0
docs: add hot reload docs ( #2094 )
...
Signed-off-by: Kévin Dunglas <kevin@dunglas.fr >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-24 17:33:15 +01:00
Alexandre Daubois
7fca07ed67
feat(types): expose IsPacked to help dealing with hashmaps and lists in Go code
2025-12-15 15:35:21 +01:00
Alexandre Daubois
bb1c3678dc
feat(extgen): add support for callable in parameters ( #1731 )
2025-12-15 12:50:50 +01:00
Alexander Stecher
11213fd1de
fix: returns a zend_array directly in types.go ( #1894 )
2025-12-12 22:55:58 +01:00
Ahmet Türk
f224f8e391
docs: fix minor typo ( #1991 )
2025-11-18 14:29:25 +01:00
Kévin Dunglas
41cb2bbeaa
feat: mercure_publish() PHP function to dispatch Mercure updates ( #1927 )
...
* feat: mercure_publish() PHP function to dispatch Mercure updates
* fix stubs for old versions
* review
* cleanup and fixes
2025-11-18 09:59:53 +01:00
Alexandre Daubois
1e48fbb801
chore(docs): catch-up french translation ( #1978 )
2025-11-17 12:07:38 +01:00
Alexandre Daubois
18946308fd
docs: remove superfluous arg in an example ( #1972 )
2025-11-14 15:12:56 +01:00
Kévin Dunglas
f7756717b5
feat: allow creating strongly typed slices and maps from PHP values with type utilities ( #1933 )
...
* feat: use generics in type functions for better type support
* various improvements
* better docs
* update docs
2025-10-21 11:20:54 +02:00
Kévin Dunglas
d52ce94341
docs: improve Mercure documentation and various other parts
2025-10-14 14:32:38 +02:00
Kévin Dunglas
5514491a18
feat(extgen): support for mixed type ( #1913 )
...
* feat(extgent): support for mixed type
* refactor: use unsafe.Pointer
* Revert "refactor: use unsafe.Pointer"
This reverts commit 8a0b9c1beb .
* fix docs
* fix docs
* cleanup template
* fix template
* fix tests
2025-10-09 14:10:45 +02:00
Kévin Dunglas
52a0be5728
feat(ext): expose GoValue() and PHPValue() functions ( #1877 )
...
* feat(ext): expose a GoValue function
* GoValue()
2025-09-15 16:25:11 +02:00
Youenn Le Gouedec
984f0a0211
docs: replace GEN_STUB_FILE by GEN_STUB_SCRIPT ( #1849 )
2025-09-08 14:13:16 +02:00
Adiel Cristo
c564c3ffb9
fix: minor docs fixes
2025-08-29 12:46:40 +02:00
Alexander Stecher
d540727369
feat:(extgen) make Go arrays more consistent with PHP arrays ( #1800 )
...
* Makes go arrays more consistent with PHP arrays.
* NewAssociativeArray.
* linting
* go linting
* Exposes all primitive types.
* Removes pointer alias
* linting
* Optimizes hash update.
* Fixes extgen tests.
* Moves file to tests.
* Fixes suggested by @dunglas.
* Replaces 'interface{}' with 'any'.
* Panics on wrong zval.
* interface improvements as suggested by @dunglas.
* Adjusts docs.
* Adjusts docs.
* Removes PackedArray alias and adjusts docs.
* Updates docs.
2025-08-25 16:24:15 +02:00
Alexandre Daubois
8df41236d9
feat(extgen): add support for arrays as parameters and return types ( #1724 )
...
* feat(extgen): add support for arrays as parameters and return types
* cs
---------
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
2025-07-16 12:05:29 +02:00
Alexandre Daubois
1804e36b93
feat(extgen): add support for //export_php:namespace ( #1721 )
2025-07-16 12:01:39 +02:00
Alexandre Daubois
92abb16bc0
docs: add French translation for extensions ( #1705 )
2025-06-30 16:54:43 +02:00
Alexandre Daubois
93f2384749
docs: add extension and extension generator docs ( #1652 )
2025-06-30 14:29:25 +02:00