Skip to content

Commit eda60f6

Browse files
committed
Doc update
1 parent a67208b commit eda60f6

File tree

2 files changed

+25
-32
lines changed

2 files changed

+25
-32
lines changed

PHPDOC.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ Run : `composer run-php-documentor`
2323
*Note : `composer generate docs` would only work if you installed `phpDocumentor` globally, if you did not run : `custom/path/phpDocumentor -d 'src,tests' -t docs/phpdoc` to generate docs*
2424

2525
*Where `custom/path/` is the location where you downloaded `phpDocumentor`*
26-

README.md

Lines changed: 25 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,44 @@
1-
# phpList core module
2-
1+
# phpList Core Module
32

43
[![Build Status](https://github.com/phpList/core/workflows/phpList%20Core%20Build/badge.svg)](https://github.com/phpList/core/actions)
54
[![Latest Stable Version](https://poser.pugx.org/phplist/core/v/stable.svg)](https://packagist.org/packages/phpList/core)
65
[![Total Downloads](https://poser.pugx.org/phplist/core/downloads.svg)](https://packagist.org/packages/phpList/core)
76
[![Latest Unstable Version](https://poser.pugx.org/phplist/core/v/unstable.svg)](https://packagist.org/packages/phpList/core)
87
[![License](https://poser.pugx.org/phplist/core/license.svg)](https://packagist.org/packages/phpList/core)
98

10-
119
## About phpList
1210

1311
phpList is an open source newsletter manager. This project is a rewrite of the
1412
[original phpList](https://github.com/phpList/phplist3).
1513

16-
1714
## About this package
1815

19-
This is the core module of the successor to phpList 3. It will have the
20-
following responsibilities:
16+
This is the core module of phpList 4, currently in alpha stage. It provides the following functionality:
2117

22-
* provide access to the DB via Doctrine models and repositories (and raw SQL
23-
for performance-critical parts that do not need the models)
24-
* routing (which the web frontend and REST API will use)
25-
* authentication (which the web frontend and REST API will use)
26-
* logging
27-
* a script for tasks to be called from the command line (or a cron job)
28-
* tasks to create and update the DB schema
18+
* Database access via Doctrine models and repositories (and raw SQL for performance-critical parts)
19+
* Routing (which the web frontend and REST API use)
20+
* Authentication (which the web frontend and REST API use)
21+
* Logging (including Graylog integration for centralized logging)
22+
* Command line interface for maintenance tasks
23+
* Database schema creation and updates
24+
* Asynchronous email sending using Symfony Messenger
2925

3026
Please note that this module does not provide a web frontend or a REST API.
31-
There are the separate modules [`phpList/web-frontend`](https://github.com/phpList/web-frontend) and [`phpList/rest-api`](https://github.com/phpList/rest-api)
32-
for these tasks.
27+
There are separate modules for these purposes:
28+
* [`phpList/web-frontend`](https://github.com/phpList/web-frontend)
29+
* [`phpList/rest-api`](https://github.com/phpList/rest-api)
3330

3431
This module should not be modified locally. It should be updated via Composer.
3532

33+
## Requirements
3634

37-
## Installation
35+
* PHP 8.1 or higher
36+
* Symfony 6.4 components
37+
* Doctrine ORM 3.3
3838

39-
Since this package is only a service required to run a full installation of **phpList 4**, the recommended way of installing this package is to run `composer install` from within the [phpList base distribution](https://github.com/phpList/base-distribution) which requires this package. [`phpList/base-distribution`](https://github.com/phpList/base-distribution) containrs detailed installation instructions in its [README](https://github.com/phpList/base-distribution/blob/master/README.md).
39+
## Installation
4040

41+
Since this package is only a service required to run a full installation of **phpList 4**, the recommended way of installing this package is to run `composer install` from within the [phpList base distribution](https://github.com/phpList/base-distribution) which requires this package. [`phpList/base-distribution`](https://github.com/phpList/base-distribution) contains detailed installation instructions in its [README](https://github.com/phpList/base-distribution/blob/master/README.md).
4142

4243
## Contributing to this package
4344

@@ -49,16 +50,13 @@ This project adheres to a [Contributor Code of Conduct](CODE_OF_CONDUCT.md).
4950
By participating in this project and its community, you are expected to uphold
5051
this code.
5152

53+
## Documentation
5254

53-
## Structure
54-
55-
* [Class Docs][docs/phpdoc/]
56-
* [Mailer Transports](docs/mailer-transports.md) - How to use different email providers (Gmail, Amazon SES, Mailchimp, SendGrid)
55+
* [Class Docs](docs/phpdoc/)
5756
* [Class structure overview](docs/ClassStructure.md)
58-
* [Graphic domain model](docs/DomainModel/DomainModel.svg) and
59-
a [description of the domain entities](docs/DomainModel/Entities.md)
57+
* [Graphic domain model](docs/DomainModel/DomainModel.svg) and [description of the domain entities](docs/DomainModel/Entities.md)
6058
* [Mailer Transports](docs/mailer-transports.md) - How to use different email providers (Gmail, Amazon SES, Mailchimp, SendGrid)
61-
59+
* [Asynchronous Email Sending](docs/AsyncEmailSending.md) - How to use asynchronous email sending with Symfony Messenger
6260

6361
## Running the web server
6462

@@ -85,11 +83,11 @@ You can stop the server with CTRL + C.
8583

8684
We use `phpDocumentor` to automatically generate documentation for classes. To make this process efficient and easier, you are required to properly "document" your `classes`,`properties`, `methods` ... by annotating them with [docblocks](https://docs.phpdoc.org/latest/guide/guides/docblocks.html).
8785

88-
More about generatings docs in [PHPDOC.md](PHPDOC.md)
86+
More about generating docs in [PHPDOC.md](PHPDOC.md)
8987

9088
### Testing
9189

92-
Create test db with name phplist in your mysql DB or uncomment sqlite part in config_test.yml file to use in memory DB or functional tests
90+
Create test db with name phplist in your mysql DB or uncomment sqlite part in config_test.yml file to use in memory DB for functional tests.
9391
To run the server in testing mode (which normally will only be needed for the
9492
automated tests, provide the `--env` option:
9593

@@ -103,7 +101,6 @@ For documentation on running the application in production mode using Apache,
103101
please see the
104102
[phpList base distribution README](https://github.com/phpList/base-distribution).
105103

106-
107104
## Changing the database schema
108105

109106
Any changes to the database schema must always be done both in phpList 3 and
@@ -113,7 +110,6 @@ For changing the database schema, please edit `resources/Database/Schema.sql`
113110
and adapt the corresponding domain model classes and repository classes
114111
accordingly.
115112

116-
117113
## Developing phpList modules (plugins)
118114

119115
In phpList, plugins are called **modules**. They are Composer packages which
@@ -198,14 +194,12 @@ need a mode or a repository method that still is missing, please
198194
[submit a pull request](https://github.com/phpList/core/pulls) or
199195
[file an issue](https://github.com/phpList/core/issues).
200196

201-
202197
## Accessing the phpList data from third-party applications
203198

204199
To access the phpList data from a third-party application (i.e., not from a
205200
phpList module), please use the
206201
[REST API](https://github.com/phpList/rest-api).
207202

208-
209203
## Email Configuration
210204

211205
phpList supports multiple email transport providers through Symfony Mailer. The following transports are included:
@@ -219,4 +213,4 @@ For detailed configuration instructions, see the [Mailer Transports documentatio
219213

220214
## Copyright
221215

222-
phpList is copyright (C) 2000-2021 [phpList Ltd](https://www.phplist.com/).
216+
phpList is copyright (C) 2000-2025 [phpList Ltd](https://www.phplist.com/).

0 commit comments

Comments
 (0)