Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bpuig committed Oct 15, 2021
1 parent 85190d2 commit 1366c2a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 bpuig
Copyright (c) 2021 B. Puig

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ Originally forked from [rinvex/laravel-subscriptions](https://github.com/rinvex/

## Version Compatibility
::: tip CURRENT VERSION
Current version is v4.0
Current version is v5.0
:::

Laravel | Laravel Subby
:---------|:----------
8.x | [v3.x](/v3.x/), [v4.x](/v4.x/), [v5.x (in development)](/v5.x/)
8.x | [v3.x](/v3.x/), [v4.x](/v4.x/), [v5.x](/v5.x/)
7.x | [v4.x](/v4.x/)
6.x | [v4.x](/v4.x/)

Expand Down
13 changes: 2 additions & 11 deletions docs/v5.x/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,9 @@ php artisan migrate

# Upgrade from v4.x to v5.x

This package need to be upgraded version by version to apply database changes.
This package need to be upgraded version by version to apply database changes. See [migrate v5](migrate-v5.md) for breaking
changes.

Require in composer version 5 or greater. Publish and migrate:

```shell
php artisan vendor:publish --tag=subby.migrations.v5.0.0
php artisan migrate
```

### Breaking changes

Find breaking changes in [changelog](../CHANGELOG.md).

# Attach Subscriptions to model

Expand Down
2 changes: 1 addition & 1 deletion docs/v5.x/install/migrate-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Composer

In your composer version, require v4.
In your composer version, require v5.

```json
"bpuig/laravel-subby": "^5.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/v5.x/models/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Models

**Subby** uses 6 models:
**Subby** uses this models:

```php
Bpuig\Subby\Models\Plan;
Expand Down

0 comments on commit 1366c2a

Please sign in to comment.