Download the PHP package phil/follow-bundle without Composer
On this page you can find all versions of the php package phil/follow-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phil/follow-bundle
More information about phil/follow-bundle
Files in phil/follow-bundle
Package follow-bundle
Short Description Let members follow a topic, thread, listing or member and hear about new activity once, through notifications, with levels, approval requests and mutuals.
License MIT
Homepage https://ph-il.ca
Informations about the package follow-bundle
phil/follow-bundle
Follow a content item, a thread, a listing or a member, at the level each member chooses, and hear of new activity through phil/notifications-bundle: requests for locked profiles, mutual relationships, followers hidden on request.
phil/follow-bundle is a Symfony bundle. A member follows a subject — any record of the application, named by a type and
an identifier — at one of four levels: watching, mentions only, ignoring, or custom, a level for each
kind of event. Following a parent follows its children, unless the member chose otherwise on a nearer subject. When the
application publishes an activity, the bundle sends it to the followers through phil/notifications-bundle, a bounded
page at a time, by Messenger messages that carry identifiers only, and never twice to the same member.
Features
- Levels: watching, mentions only, ignoring — which also stops what a followed parent brings —, and custom by event; see Following.
- Inheritance: the application names the parents of a subject; the nearest follow decides.
- Requests: a locked profile, or any subject the application approves, turns a follow into a request that its
approver accepts or rejects —
Follow,AcceptandReject, the words of ActivityPub. - Mutual relationships, turned on by configuration, beside one-way following; stopping to follow keeps them.
- Delivery through
phil/notifications-bundle: pages of followers, claims per member and activity so that a retry sends to no one twice, one notification on every channel until the member sees the subject, and the digest of the notifications bundle; see Delivery. - Automatic follows, when turned on, of what a member creates or replies to.
- Privacy: followers hidden at each member's choice, never shown by the API nor the templates; export and erasure through phil/privacy-bundle; see Privacy.
- Templates that work without JavaScript: the follow button and its menu of levels, the requests, the followers, the visibility of one's followers, the mutual relationship; see Templates.
- No activity feed: each application composes its home page from the follows and the notifications; see A home page.
Status
| Part | State |
|---|---|
| Follows, levels, preferences by event, inheritance | Implemented and tested |
| Requests, mutual relationships, automatic follows | Implemented and tested |
| Delivery by pages, claims, hold until seen, purge schedule | Implemented and tested |
| Followers' visibility, export and erasure | Implemented and tested |
| Templates and forms without JavaScript | Implemented and tested |
| Flex recipe | Not written yet |
Documentation
| Document | What it covers |
|---|---|
| Installation | Requirements, installing, the tables and the routes. |
| Configuration | Every option, with an example. |
| Following | Levels, preferences by event, inheritance, requests, mutual relationships, automatic follows. |
| Delivery | Publishing an activity, the pages, the claims, the hold until seen, the digest and the purge. |
| Templates | The templates, their Twig functions and their forms. |
| A home page | How an application composes a member's home page from the follows and the notifications. |
| Privacy | Hidden followers, the export and the erasure. |
| Extension points | The ports the application writes and the services it calls. |
| Testing | The bundle's tests. |
| Reference | Every public type of the bundle. |
Quick start
Requirements
PHP 8.5 or later, Symfony 8.2 or later, Doctrine DBAL 4.5 or later and phil/notifications-bundle 0.3 or later.
Contributing
Contributions are welcome on the PHIL monorepo: read the contribution guide and the security policy explains, never in a public issue.
License
MIT, © Philippe Gamache, doing business as Le Gnome Archiviste; a Parler Haut Interagir Librement project. See LICENSE.
All versions of follow-bundle with dependencies
doctrine/dbal Version ^4.5
phil/notifications-bundle Version ^0.4@dev
psr/clock Version ^1.0
symfony/config Version ^8.2
symfony/dependency-injection Version ^8.2
symfony/http-foundation Version ^8.2
symfony/routing Version ^8.2
symfony/security-csrf Version ^8.2
symfony/translation-contracts Version ^3.6
symfony/uid Version ^8.2
twig/twig Version ^3.21