Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslaw-przylucki committed Mar 26, 2024
1 parent a111613 commit 61fb051
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you use Laravel as a backend for a frontend framework like Nuxt or Next, and
You can install the package via composer:

```bash
composer require przemyslaw-przylucki/saas-laravel
composer require saas-laravel/laravel-enums-to-json
```

You can publish the config file with:
Expand Down Expand Up @@ -64,7 +64,7 @@ enum CastType: int
Then you'd run a command to generate the json files.

```shell
php artisan enum-to-json:generate:generate
php artisan enum-to-json:generate
```

### Customizing the name
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php": "^8.1",
"illuminate/contracts": "^10.0",
"spatie/laravel-package-tools": "^1.14.0",
"spatie/php-structure-discoverer": "^1.0"
"spatie/php-structure-discoverer": "^2.0"
},
"require-dev": {
"laravel/pint": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Attributes/EnumToJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Attribute;

#[Attribute]
#[Attribute(Attribute::TARGET_CLASS)]
class EnumToJson
{

Expand Down

0 comments on commit 61fb051

Please sign in to comment.