You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PHPDOC.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,4 +23,3 @@ Run : `composer run-php-documentor`
23
23
*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*
24
24
25
25
*Where `custom/path/` is the location where you downloaded `phpDocumentor`*
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:
21
17
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
29
25
30
26
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)
This module should not be modified locally. It should be updated via Composer.
35
32
33
+
## Requirements
36
34
37
-
## Installation
35
+
* PHP 8.1 or higher
36
+
* Symfony 6.4 components
37
+
* Doctrine ORM 3.3
38
38
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
40
40
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).
41
42
42
43
## Contributing to this package
43
44
@@ -49,16 +50,13 @@ This project adheres to a [Contributor Code of Conduct](CODE_OF_CONDUCT.md).
49
50
By participating in this project and its community, you are expected to uphold
50
51
this code.
51
52
53
+
## Documentation
52
54
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)
*[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)
60
58
*[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
62
60
63
61
## Running the web server
64
62
@@ -85,11 +83,11 @@ You can stop the server with CTRL + C.
85
83
86
84
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).
87
85
88
-
More about generatings docs in [PHPDOC.md](PHPDOC.md)
86
+
More about generating docs in [PHPDOC.md](PHPDOC.md)
89
87
90
88
### Testing
91
89
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.
93
91
To run the server in testing mode (which normally will only be needed for the
94
92
automated tests, provide the `--env` option:
95
93
@@ -103,7 +101,6 @@ For documentation on running the application in production mode using Apache,
103
101
please see the
104
102
[phpList base distribution README](https://github.com/phpList/base-distribution).
105
103
106
-
107
104
## Changing the database schema
108
105
109
106
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`
113
110
and adapt the corresponding domain model classes and repository classes
114
111
accordingly.
115
112
116
-
117
113
## Developing phpList modules (plugins)
118
114
119
115
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
198
194
[submit a pull request](https://github.com/phpList/core/pulls) or
199
195
[file an issue](https://github.com/phpList/core/issues).
200
196
201
-
202
197
## Accessing the phpList data from third-party applications
203
198
204
199
To access the phpList data from a third-party application (i.e., not from a
205
200
phpList module), please use the
206
201
[REST API](https://github.com/phpList/rest-api).
207
202
208
-
209
203
## Email Configuration
210
204
211
205
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
219
213
220
214
## Copyright
221
215
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