Code Monkey home page Code Monkey logo

doctrine-audit-bundle-demo's Introduction

DoctrineAuditBundle demo application

This application demos what damienharper/doctrine-audit-bundle can do.

Usage

Before running the demo, you first need to install dev dependencies:

composer install

Then run the following commands to:

  1. create the local database (SQLite)
  2. populate it with demo data
  3. clear the cache
  4. start the local symfony web server
bin/console doctrine:database:drop --force
bin/console doctrine:database:create
bin/console doctrine:schema:update --force
bin/console doctrine:fixtures:load --append
bin/console cache:clear
bin/console server:run

Screenshots

Audit inventory

Audit inventory

Entity history

Entity history

Entry details

Entry details

doctrine-audit-bundle-demo's People

Contributors

damienharper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

iwfy

doctrine-audit-bundle-demo's Issues

compose.lock does not allow installation with PHP 7.1 or 7.2

Hello,
I've justed test your bundle and the demo, and i like it :)

One issue with the demo. The composer.lock does not allow installation on PHP 7.1 or 7.2 platform.
Here is output when trying to do it with PHP 7.2

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for ocramius/package-versions 1.5.1 -> satisfiable by ocramius/package-versions[1.5.1].
    - ocramius/package-versions 1.5.1 requires php ^7.3.0 -> your PHP version (7.2.19) does not satisfy that requirement.
  Problem 2
    - ocramius/package-versions 1.5.1 requires php ^7.3.0 -> your PHP version (7.2.19) does not satisfy that requirement.
    - ocramius/proxy-manager 2.2.3 requires ocramius/package-versions ^1.1.3 -> satisfiable by ocramius/package-versions[1.5.1].
    - Installation request for ocramius/proxy-manager 2.2.3 -> satisfiable by ocramius/proxy-manager[2.2.3].

After deleting local copy of composer.lock, I'm able to install the demo, and all run fine !

Thanks for your works

Deprecation in symfony 5.1

Hi Damien,
The ROLE_PREVIOUS_ADMIN role is deprecated and will be removed in version 6.0, use the IS_IMPERSONATOR attribute instead.

Triggered inDoctrineAuditBundle/User/TokenStorageUserProvider.php -> isGranted (line 41)

Am I missing something?

Reading about this audit bundle and looking at the screenshots, it looks really useful. This demo though, seems a bit incomplete to me. There are no controllers, no forms and only the base template. Am I missing something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.