Skip to content

Commit c2158c2

Browse files
authored
Merge pull request #24 from AuroraWebSoftware/v2-dev2
- v2
2 parents 707a3de + f61af45 commit c2158c2

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ The Laravel AIssue package provides a comprehensive solution for managing issues
1515
You can install the package via composer:
1616

1717
```bash
18-
bashCopy code
19-
composer require aurorawebsolutions/aissue
18+
composer require aurorawebsoftware/aissue
2019

2120
```
2221

2322
After installation, publish and run the migrations with:
2423

2524
```bash
26-
bashCopy code
2725
php artisan vendor:publish --provider="AuroraWebSoftware\AIssue\AIssueServiceProvider" --tag="migrations"
2826
php artisan migrate
2927

@@ -44,7 +42,6 @@ Before diving into the code, it's essential to understand the main components of
4442
Create a new issue:
4543

4644
```php
47-
phpCopy code
4845
use AuroraWebSoftware\AIssue\Models\AIssue;
4946

5047
$issue = AIssue::create([
@@ -60,7 +57,6 @@ $issue->applyWorkflow('simple');
6057
Add actors to an issue:
6158

6259
```php
63-
phpCopy code
6460
// Assuming $user1 and $user2 are instances of a Model that implements IssueActorModelContract
6561
$issue->setReporter($user1); // Set the reporter
6662
$issue->setResponsible($user2); // Set the responsible party
@@ -70,7 +66,6 @@ $issue->setResponsible($user2); // Set the responsible party
7066
Manage issue states:
7167

7268
```php
73-
phpCopy code
7469
// Transition to another state
7570
$issue->transitionTo('state2');
7671

@@ -82,7 +77,6 @@ $currentState = $issue->currentState();
8277
### **Working with Connectives and Observers**
8378

8479
```php
85-
phpCopy code
8680
// Add observers to an issue
8781
$issue->addObserver($user3);
8882
$issue->addObserver($user4);
@@ -98,7 +92,6 @@ $issue->removeAllObservers();
9892
### **Setting and Managing Due Dates**
9993

10094
```php
101-
phpCopy code
10295
use Illuminate\Support\Carbon;
10396

10497
// Set a due date for the issue

0 commit comments

Comments
 (0)