Skip to content

Commit 3338ad8

Browse files
authored
change vendor from orisintel to always-open (#1)
1 parent 85906bf commit 3338ad8

25 files changed

+66
-79
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Laravel Model Auditlog
22

3-
[![Latest Version on Packagist](https://img.shields.io/packagist/v/orisintel/laravel-model-auditlog.svg?style=flat-square)](https://packagist.org/packages/orisintel/laravel-model-auditlog)
4-
[![Build Status](https://img.shields.io/github/workflow/status/orisintel/laravel-model-auditlog/tests?style=flat-square)](https://github.com/orisintel/laravel-model-auditlog/actions?query=workflow%3Atests)
5-
[![Total Downloads](https://img.shields.io/packagist/dt/orisintel/laravel-model-auditlog.svg?style=flat-square)](https://packagist.org/packages/orisintel/laravel-model-auditlog)
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/always-open/laravel-model-auditlog.svg?style=flat-square)](https://packagist.org/packages/always-open/laravel-model-auditlog)
4+
[![Build Status](https://img.shields.io/github/workflow/status/always-open/laravel-model-auditlog/tests?style=flat-square)](https://github.com/always-open/laravel-model-auditlog/actions?query=workflow%3Atests)
5+
[![Total Downloads](https://img.shields.io/packagist/dt/always-open/laravel-model-auditlog.svg?style=flat-square)](https://packagist.org/packages/always-open/laravel-model-auditlog)
66

77
When modifying a model record, it is nice to have a log of the changes made and who made those changes. There are many packages around this already, but this one is different in that it logs those changes to individual tables for performance and supports real foreign keys.
88

@@ -11,13 +11,13 @@ When modifying a model record, it is nice to have a log of the changes made and
1111
You can install the package via composer:
1212

1313
```bash
14-
composer require orisintel/laravel-model-auditlog
14+
composer require always-open/laravel-model-auditlog
1515
```
1616

1717
## Configuration
1818

1919
``` php
20-
php artisan vendor:publish --provider="\OrisIntel\AuditLog\AuditLogServiceProvider"
20+
php artisan vendor:publish --provider="\AlwaysOpen\AuditLog\AuditLogServiceProvider"
2121
```
2222

2323
Running the above command will publish the config file.
@@ -30,7 +30,7 @@ After adding the proper fields to your table, add the trait to your model.
3030
// User model
3131
class User extends Model
3232
{
33-
use \OrisIntel\AuditLog\Traits\AuditLoggable;
33+
use \AlwaysOpen\AuditLog\Traits\AuditLoggable;
3434

3535
```
3636

@@ -147,7 +147,7 @@ composer require awobaz/compoships
147147
Then use the trait on the pivot audit log model:
148148
```php
149149
use Awobaz\Compoships\Compoships;
150-
use OrisIntel\AuditLog\Models\BaseModel;
150+
use AlwaysOpen\AuditLog\Models\BaseModel;
151151

152152
class PostTagAuditLog extends BaseModel
153153
{
@@ -190,7 +190,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
190190

191191
### Security
192192

193-
If you discover any security related issues, please email [security@orisintel.com](mailto:security@orisintel.com) instead of using the issue tracker.
193+
If you discover any security related issues, please email @tomschlick / @qschmick instead of using the issue tracker.
194194

195195
## Credits
196196

composer.json

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,20 @@
11
{
2-
"name": "orisintel/laravel-model-auditlog",
2+
"name": "always-open/laravel-model-auditlog",
33
"description": "Tracks changes made to models and logs them to individual tables. ",
44
"keywords": [
5-
"orisintel",
5+
"always-open",
66
"auditlog",
77
"laravel",
88
"logging"
99
],
10-
"homepage": "https://github.com/orisintel/laravel-model-auditlog",
10+
"homepage": "https://github.com/always-open/laravel-model-auditlog",
1111
"license": "MIT",
12-
"authors": [
13-
{
14-
"name": "Tom Schlick",
15-
"email": "tschlick@orisintel.com",
16-
"role": "Developer"
17-
},
18-
{
19-
"name": "ORIS Intelligence",
20-
"email": "developers@orisintel.com",
21-
"homepage": "https://orisintel.com",
22-
"role": "Organization"
23-
}
24-
],
2512
"require": {
2613
"php": "^7.3|^8.0",
2714
"awobaz/compoships": "^2.0.3",
2815
"fico7489/laravel-pivot": "^3.0.1",
2916
"laravel/framework": "^8.0",
30-
"orisintel/laravel-process-stamps": "^3.0"
17+
"always-open/laravel-process-stamps": "^3.0"
3118
},
3219
"require-dev": {
3320
"doctrine/dbal": "^2.9",
@@ -38,12 +25,12 @@
3825
},
3926
"autoload": {
4027
"psr-4": {
41-
"OrisIntel\\AuditLog\\": "src"
28+
"AlwaysOpen\\AuditLog\\": "src"
4229
}
4330
},
4431
"autoload-dev": {
4532
"psr-4": {
46-
"OrisIntel\\AuditLog\\Tests\\": "tests"
33+
"AlwaysOpen\\AuditLog\\Tests\\": "tests"
4734
}
4835
},
4936
"scripts": {
@@ -56,7 +43,7 @@
5643
"extra": {
5744
"laravel": {
5845
"providers": [
59-
"OrisIntel\\AuditLog\\AuditLogServiceProvider"
46+
"AlwaysOpen\\AuditLog\\AuditLogServiceProvider"
6047
]
6148
}
6249
}

src/AuditLogServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace OrisIntel\AuditLog;
3+
namespace AlwaysOpen\AuditLog;
44

55
use Illuminate\Support\ServiceProvider;
6-
use OrisIntel\AuditLog\Console\Commands\MakeModelAuditLogTable;
6+
use AlwaysOpen\AuditLog\Console\Commands\MakeModelAuditLogTable;
77

88
class AuditLogServiceProvider extends ServiceProvider
99
{

src/Console/Commands/MakeModelAuditLogTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace OrisIntel\AuditLog\Console\Commands;
3+
namespace AlwaysOpen\AuditLog\Console\Commands;
44

55
use Illuminate\Console\Command;
66
use Illuminate\Database\Eloquent\Model;

src/EventType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace OrisIntel\AuditLog;
3+
namespace AlwaysOpen\AuditLog;
44

55
class EventType
66
{

src/Models/BaseModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace OrisIntel\AuditLog\Models;
3+
namespace AlwaysOpen\AuditLog\Models;
44

55
use Illuminate\Database\Eloquent\Model;
66
use Illuminate\Database\Eloquent\Relations\BelongsTo;
77
use Illuminate\Support\Collection;
88
use Illuminate\Support\Facades\Auth;
9-
use OrisIntel\AuditLog\EventType;
9+
use AlwaysOpen\AuditLog\EventType;
1010

1111
/**
1212
* @property int event_type

src/Observers/AuditLogObserver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace OrisIntel\AuditLog\Observers;
3+
namespace AlwaysOpen\AuditLog\Observers;
44

55
use Illuminate\Database\Eloquent\Model;
6-
use OrisIntel\AuditLog\EventType;
6+
use AlwaysOpen\AuditLog\EventType;
77

88
class AuditLogObserver
99
{

src/Traits/AuditLoggable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace OrisIntel\AuditLog\Traits;
3+
namespace AlwaysOpen\AuditLog\Traits;
44

55
use Illuminate\Database\Eloquent\Relations\HasMany;
6-
use OrisIntel\AuditLog\Observers\AuditLogObserver;
6+
use AlwaysOpen\AuditLog\Observers\AuditLogObserver;
77

88
trait AuditLoggable
99
{

src/Traits/AuditLoggablePivot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace OrisIntel\AuditLog\Traits;
3+
namespace AlwaysOpen\AuditLog\Traits;
44

55
use Awobaz\Compoships\Compoships;
66
use Illuminate\Database\Eloquent\Relations\HasMany;

stubs/model.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace {NAMESPACE};
44

5-
use OrisIntel\AuditLog\Models\BaseModel;
5+
use AlwaysOpen\AuditLog\Models\BaseModel;
66

77
class {CLASS_NAME} extends BaseModel
88
{

0 commit comments

Comments
 (0)