# Creating a Module

- Thread: https://externals.io/message/14890
- Original archive: https://news-web.php.net/php.internals/14890
- Started by Chris Cranford on 2005-02-13T04:24:14+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #14890 — Chris Cranford — 2005-02-13T04:24:14+00:00

URL: https://externals.io/message/14890#14890

I'm trying to create my first module and I am having a bit of trouble.  Is
there any example modules available I could review to get a better
understanding of how to write them?

Thanks

---

## #14891 — Sara Golemon — 2005-02-13T04:51:29+00:00

URL: https://externals.io/message/14890#14891 · In reply to: #14890

> I'm trying to create my first module and I am having a bit of trouble.  Is
> there any example modules available I could review to get a better
> understanding of how to write them?
>
Most any directory under ext/ in the source tree are, in actuality, 
standalone modules (a few exceptions, though only technically).

Or you could grab any package from PECL ( http://pecl.php.net ).

Or you could run ext_skel (from the ext/ directory) and generate a skeleton 
replete with comments describing what to do with the included pieces.

-Sara

---

## #14893 — sumoraigabe-php@yahoo.com — 2005-02-13T06:13:41+00:00

URL: https://externals.io/message/14890#14893 · In reply to: #14890

I found the book Advanced PHP Programming to be quite
helpful when I started working on the zeroconf
extension. There's a number of chapters dealing with
extensions and Zend engine internals.

--- Chris Cranford <chris.cranford@tkdsoftware.com>
wrote:

> I'm trying to create my first module and I am having
> a bit of trouble.  Is
> there any example modules available I could review
> to get a better
> understanding of how to write them?
> 
> Thanks
> 
> -- 
> 
> 
> 
> 

=====
