diff options
author | Anatol Belski <ab@php.net> | 2013-10-14 16:07:26 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-10-14 16:07:26 +0200 |
commit | 9ccde8a41571282521c677edf2b481a526ae03c9 (patch) | |
tree | 25023f13fbda82ac668714afa1c60e129a022a14 /README.SELF-CONTAINED-EXTENSIONS | |
parent | 7a038ccbe61c88b007a3a3ba1580185058792e91 (diff) | |
download | php-git-9ccde8a41571282521c677edf2b481a526ae03c9.tar.gz |
added notes about the PECL site conformity
Diffstat (limited to 'README.SELF-CONTAINED-EXTENSIONS')
-rw-r--r-- | README.SELF-CONTAINED-EXTENSIONS | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/README.SELF-CONTAINED-EXTENSIONS b/README.SELF-CONTAINED-EXTENSIONS index e6a375331b..5287230e1a 100644 --- a/README.SELF-CONTAINED-EXTENSIONS +++ b/README.SELF-CONTAINED-EXTENSIONS @@ -153,3 +153,18 @@ ADDING SHARED MODULE SUPPORT TO A MODULE #ifdef COMPILE_DL_FOO ZEND_GET_MODULE(foo) #endif + +PECL SITE CONFORMITY + + If you plan to release an extension to the PECL website, there are several + points to be regarded. + + 1. Add LICENSE or COPYING to the package.xml + + 2. The following should be defined in one of the extension header files + + #define PHP_FOO_VERSION "1.2.3" + + This macros has to be used within your foo_module_entry to indicate the + extension version. + |