Skip to content

Commit

Permalink
Update composer.json and minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mgamal92 committed Feb 17, 2024
1 parent 4d0edeb commit 0c96213
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 34 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ phpstan.neon
testbench.yaml
vendor
node_modules
workbench
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ The Laravel Inbox Package offers a streamlined approach to integrating a messagi

## Features

- User-to-user messaging
- Message threading for conversation tracking
- Read/unread status management
- Easy Laravel integration
- Customizable message models
- [ ] Send messages to other users
- [ ] Receive messages from other users
- [ ] Mark messages as read or unread
- [ ] Delete messages with soft delete
- [ ] Star messages


## Requirements

Expand Down
30 changes: 21 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,20 @@
"autoload-dev": {
"psr-4": {
"MG\\Inbox\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/"
"Workbench\\App\\": "workbench/app/",
"Workbench\\Database\\Factories\\": "workbench/database/factories/",
"Workbench\\Database\\Seeders\\": "workbench/database/seeders/"
}
},
"scripts": {
"post-autoload-dump": "@composer run prepare",
"clear": "@php vendor/bin/testbench package:purge-laravel-inbox --ansi",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"build": [
"@composer run prepare",
"@php vendor/bin/testbench workbench:build --ansi"
"post-autoload-dump": [
"@clear",
"@prepare",
"@composer run prepare"
],
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"build": "@php vendor/bin/testbench workbench:build --ansi",
"start": [
"Composer\\Config::disableProcessTimeout",
"@composer run build",
Expand All @@ -57,7 +60,16 @@
"analyse": "vendor/bin/phpstan analyse",
"test": "vendor/bin/pest",
"test-coverage": "vendor/bin/pest --coverage",
"format": "vendor/bin/pint"
"format": "vendor/bin/pint",
"serve": [
"Composer\\Config::disableProcessTimeout",
"@build",
"@php vendor/bin/testbench serve"
],
"lint": [
"@php vendor/bin/pint",
"@php vendor/bin/phpstan analyse"
]
},
"config": {
"sort-packages": true,
Expand All @@ -78,4 +90,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
19 changes: 0 additions & 19 deletions database/migrations/create_inbox_table.php.stub

This file was deleted.

1 change: 0 additions & 1 deletion src/InboxServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public function configurePackage(Package $package): void
$package
->name('laravel-inbox')
->hasConfigFile()
->hasViews()
->hasMigration('create_laravel-inbox_table')
->hasCommand(InboxCommand::class);
}
Expand Down

0 comments on commit 0c96213

Please sign in to comment.