{"repo":"Locastic/Loggastic","free":true,"listed":false,"github":"https://github.com/Locastic/Loggastic","clone":"git clone https://github.com/Locastic/Loggastic.git","description":"Symfony bundle for logging activity logs to ElasticSearch","language":"PHP","stars":38,"topics":["activity-feed","activity-log","audit-log","audit-trail","change-tracking","doctrine","elasticsearch","entity-tracking","logging","php"],"license":"MIT","category":"databases-storage","readme_excerpt":"Loggastic Loggastic is made for tracking changes to your objects and their relations. Built on top of the Symfony framework , this library makes it easy to implement activity logs and store them in Elasticsearch or in your relational database (via Doctrine DBAL). Two kinds of records are stored for each tracked entity: 1. Activity logs - saving all CRUD actions made on an object. And additionally saving before and after values for Edit actions. 2. Current data trackers - saving the latest object values used for comparing the changes made on Edit actions. This enables us to only store before and after values for modified fields in the activity logs. System requirements ------------------- - PHP 8.2+ with Symfony 6.4, 7.x or 8.x (Symfony 8 requires PHP 8.4) - Doctrine ORM 3.4+ with DoctrineBundle 2.8+ or 3.x - A storage backend: Elasticsearch 8 or 9 (default), or any relational database supported by Doctrine DBAL Installation ------------ composer require locastic/loggastic Quick start ----------- Mark an entity as loggable with the Loggable attribute and put the serialization group on every field you want to track: Initialize the storage (Elasticsearch indexes or database tables): Every create, update and delete on BlogPost is now logged automatically. Read the logs back with the Locastic\\Loggastic\\DataProvider\\ActivityLogProviderInterface service: Logs are stored in Elasticsearch by default. Set locastic loggastic.storage: doctrine to store them in your relational database in","default_branch":null,"files":null,"tree":[],"storefront":"/r/Locastic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Locastic/Loggastic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}