Laravel-auditing: Support Laravel 6.0

Created on 2 Sep 2019  路  37Comments  路  Source: owen-it/laravel-auditing

| Q | A
| ----------------- | ---
| Bug? | no
| New Feature? | yes
| Framework | Laravel
| Framework version | 6.0
| Package version | 9.2.0
| PHP version | 7.3

Actual Behaviour

I can't upgrade to Laravel 6.0 because owen-it/laravel-auditing v9.2.0 requires illuminate/filesystem ^5.8

Expected Behaviour

Upgrading to 6.0

Steps to Reproduce

  • Update laravel/framework to 6.0
  • composer update

Most helpful comment

I'm so sorry for the delay, I am very busy on another project. I am looking for collaborators who can maintain the package If someone is willing to collaborate, look for me at email [email protected].

I'll be very grateful.

All 37 comments

I made a PR. You can pull in #545

+1 Please upgrade for Laravel 6.0

Any updates on this?
Only package that is delaying the upgrade....

We Urgently need this update as well please. :-)

I feel like this package is not maintained anymore? @anteriovieira

@quetzyg @raphaelfranca

Hi @asivaneswaran,

Sorry, but I'm not a project contributor anymore, since I started working on my own auditing package.

@quetzyg does it share a similar configuration/api to this package? Looking for something that is actively maintained.

It seems that this package is abandoned or not? What is the difference to the spatie/laravel-activitylog package?

@marcelogarbin activitylog from spatie is a simple log package. An alternativ could be https://github.com/VentureCraft/revisionable

@marcelogarbin activitylog from spatie is a simple log package. An alternativ could be https://github.com/VentureCraft/revisionable

That's just a terrible suggestion.

@quetzyg i also don't like revisionable because lack of features and switched to auditing. But no one want to rely on a abandoned package... I hope someone will take care of this great package!

@quetzyg i also don't like revisionable because lack of features and switched to auditing. But no one want to rely on a abandoned package... I hope someone will take care of this great package!

laravel-auditing this is a great package, but its maintenance is required. Who will be the administrator besides Raphael? This repository has some open pull requests. I am thinking of creating a fork and following a new project. But I'll wait a while longer.

@quetzyg i also don't like revisionable because lack of features and switched to auditing. But no one want to rely on a abandoned package... I hope someone will take care of this great package!

laravel-auditing this is a great package, but its maintenance is required. Who will be the administrator besides Raphael? This repository has some open pull requests. I am thinking of creating a fork and following a new project. But I'll wait a while longer.

If you ever do that, can you let me know please?

@quetzyg i also don't like revisionable because lack of features and switched to auditing. But no one want to rely on a abandoned package... I hope someone will take care of this great package!

laravel-auditing this is a great package, but its maintenance is required. Who will be the administrator besides Raphael? This repository has some open pull requests. I am thinking of creating a fork and following a new project. But I'll wait a while longer.

No need to fork, just use https://altek.gitlab.io/accountant

Been using it for few months. I just upgraded to Laravel 6 witout problems.

Plus, the many to many relacion suport is briliant.

@PizzaTibe I tried the package you suggested, and maybe i'm missing something but: It seems like that package does not record a before and after, just a list of properties that were changed and the 'after' change status.

Given, the relationship feature/signatures/rollback features are nice. But I still feel like it lacks the 'auditing' perspective if I don't know what it was changed from.

Am I missing something?

@anteriovieira @quetzyg @raphaelfranca
Are you still managing this package? Thank's

@anteriovieira @quetzyg @raphaelfranca
Are you still managing this package? Thank's

We would like to know if this package is still supported or was definitely abandoned, since there are many who urgently require the update to Laravel 6. Thanks to the administrator who can answer any questions

@anteriovieira @quetzyg @raphaelfranca
Are you still managing this package? Thank's

I already answered that question a few comments back. I'm no longer a contributor to this package. I also didn't want to shameless plug, but @PizzaTibe has mentioned my package, so there you are.

@PizzaTibe I tried the package you suggested, and maybe i'm missing something but: It seems like that package does not record a before and after, just a list of properties that were changed and the 'after' change status.

Given, the relationship feature/signatures/rollback features are nice. But I still feel like it lacks the 'auditing' perspective if I don't know what it was changed from.

Am I missing something?

Send me an email with any questions you have, since I don't want to hijack this issue to talk about other packages.

@quetzyg Will do, thanks.

Edit: Cant' find your e-mail

@quetzyg I know you said you don't want to plug your package, but considering this package seems abandoned, I was wondering how easy it is to switch from this package to yours?

@quetzyg I know you said you don't want to plug your package, but considering this package seems abandoned, I was wondering how easy it is to switch from this package to yours?

I'm interested in knowing this as well. Especially migrating the data from laravel-auditing to the new package.

@johanvanhelden I'll plug his package and give it a 馃憤. It took me all of 10 minutes to make the swap.

Here's all I did for mine: https://github.com/rappasoft/laravel-boilerplate/commit/8df12e26270f5c232e0a6ff1f9ef8006ade8ab00

@johanvanhelden I'll plug his package and give it a +1. It took me all of 10 minutes to make the swap.

Here's all I did for mine: rappasoft/laravel-boilerplate@8df12e2

Thank you for the diff @rappasoft ! How to go about migrating the existing data? Many of our projects have a history build up of audit events. And we can not loose those whilst making the switch.

Oh I was looking from the perspective of new projects. The table layout is mostly the same, however the way the data is stored is different. I'm not sure it would be too easy to migrate the existing data.

Yeah, it's more about migrating existing data...

So its official? People should stop using this or someone should fork it and make it compatible with laravel 6?

@anteriovieira is this package still maintained?

@anteriovieira is this package still maintained?

up

@gilbertronaldo @nuernbergerA It seems that it's not maintained.

I think I will just fork this and update it myself.

I've forked it and added support for Larvel v6.
Testing has not been implemented.
I've not refactored the namespace since I wanted it to be a drop-in replacement.
My intent is to refactor in the next month or so to my namespace but leaving the OwenIt namespace as an alias for backward compatibility.

https://packagist.org/packages/runacorp/laravel-auditing

I'm so sorry for the delay, I am very busy on another project. I am looking for collaborators who can maintain the package If someone is willing to collaborate, look for me at email [email protected].

I'll be very grateful.

I'm so sorry for the delay, I am very busy on another project. I am looking for collaborators who can maintain the package If someone is willing to collaborate, look for me at email [email protected].

I'll be very grateful.

Thank you very much for the effort to keep this great package

To confirm, has support for Laravel 6 now been added (v9.3.1 and up) i.e. https://github.com/owen-it/laravel-auditing/blob/v9.3.1/composer.json#L43-L45

I'll be trying this later this week.

It may be worth closing/updating this issue to avoid any confusion, as there appears to be several issues relating to Laravel 6 support.

Laravel 6 is supported now 馃槂

Thanks, everyone I will look at the package whenever possible if I disappear calls me by the email informed above. 馃槃 馃憤

Was this page helpful?
0 / 5 - 0 ratings