Download the PHP package phil/reactions-bundle without Composer

On this page you can find all versions of the php package phil/reactions-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package reactions-bundle

phil/reactions-bundle

Reactions to any content for Symfony applications, as a Live Component that also works as a plain form.

phil/reactions-bundle lets the members of a site react to an article, a page, a post or anything else the application can name. Each member has one reaction per content by default, and can change it or take it back; a site that wants more lets each member give several, each emoji once, up to a cap it chooses. The site says which reactions it offers, in labelled sources — Unicode emojis and its own emojis, each an image with a replacement text — and who sees the reactions, their counters and the names of those who reacted. A reaction can be private, such as a "not useful": it never has a public counter or names, so a site offers no reaction counted against a content in public.

It is for any Symfony application with content to respond to: a blog, documentation, a forum, a wiki, announcements. The application names its contents as references of phil/resource (article:42), its members by a stable identifier — never an email address — and writes one voter; the bundle keeps the reactions, draws them with the recipes of the kit it requires, and refuses every reaction until a voter says otherwise.

A page of many contents reads them in one query for each thing to know. Every button is the button of a plain form the component takes over, so reacting works without JavaScript; the picker adds a search and the keyboard by Stimulus. The services hold nothing between two requests of a worker.

Status

Part State
Reaction, one per member and per content or several up to a cap, its moment in UTC; Doctrine store, and in-memory store emptied between two requests Implemented and tested, on SQLite
A member named by a stable identifier of the site, @ refused Implemented and tested
The list in sources, private reactions, the visibility Implemented and tested
Reactions, the voter attribute, the rate limit, the events Implemented and tested
ReactionBoard, the counters of a page read at once, the names as a list in the language of the page Implemented and tested, with a benchmark and a page measured in worker mode
The Live Component PhilReactions and the plain form with its CSRF token and signed address Implemented and tested, with each kit
The Stimulus controllers, fetched lazily, and their paths for AssetMapper Implemented and tested under Node, with AssetMapperBundle and StimulusBundle, and in a headless Chrome; the checks a person makes with a screen reader listed in testing
The erasure and the export of a member's reactions, images as media read in one query, visibility among the settings Implemented and tested, when their package is there
Notifications, moderation, reputation Not part of the bundle: they listen to the events or read the store

Documentation

Document What it covers
Installation Requirements, the bundle, the table, the routes, the recipes, the stylesheet.
Configuration Every option, the services registered.
Reactions The list, several reactions per member, private reactions, the visibility, the member, the voter, the rate limit.
The component The Live Component, the plain form, a page of many contents, the accessibility, the picker.
Events The events, the message bus, the erasure.
Extension points What an application implements, configures or replaces.
Testing The tests, the benchmark, the checks in a browser.
Reference Every class and file of the bundle.

Quick start

Requirements

PHP 8.5 or later with ext-intl, Symfony 8.2 or later, Symfony UX Live Component 3.8.1 or later, twig/intl-extra, Doctrine DBAL 4.5 and ORM 3.7. Symfony Security, Messenger, AssetMapper, phil/media-bundle, phil/settings-bundle and phil/privacy-bundle are optional.

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 reactions-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
ext-intl Version *
doctrine/dbal Version ^4.6
doctrine/orm Version ^3.8
phil/resource Version ^0.1.1@dev
psr/clock Version ^1.0
psr/event-dispatcher Version ^1.0
symfony/config Version ^8.2
symfony/dependency-injection Version ^8.2
symfony/http-foundation Version ^8.2
symfony/rate-limiter Version ^8.2
symfony/routing Version ^8.2
symfony/security-csrf Version ^8.2
symfony/service-contracts Version ^3.8
symfony/translation Version ^8.2
symfony/translation-contracts Version ^3.8
symfony/uid Version ^8.2
symfony/ux-live-component Version ^3.8.1
symfony/ux-twig-component Version ^3.8
twig/intl-extra Version ^3.31
twig/twig Version ^3.31.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package phil/reactions-bundle contains the following files

Loading the files please wait ...