Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

Commit

Permalink
Fix composer.json
Browse files Browse the repository at this point in the history
Fix laravel 5.5 version
  • Loading branch information
erashdan committed Jan 17, 2019
1 parent 7d6039f commit aa2f678
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"require": {
"php": ">=7.1.3",
"hashids/hashids": "^3.0",
"illuminate/container": "~5.5.0|~5.6.0|~5.7.0",
"illuminate/contracts": "~5.5.0|~5.6.0|~5.7.0",
"illuminate/database": "~5.5.0|~5.6.0|~5.7.0"
"illuminate/container": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0",
"illuminate/contracts": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0",
"illuminate/database": "~5.4.0|~5.5.0|~5.6.0|~5.7.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7|6.2|^7.0",
"orchestra/testbench": "~3.0"
"orchestra/testbench": "~3.4.2|~3.5.0|~3.6.0|~3.7.0",
"phpunit/phpunit": "^5.7|6.2|^7.0"
},
"authors": [
{
Expand Down
10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

* [Installation](#installation)
* [Usage](#usage)
* [Testing](#testing)
* [Credits](#credits)
* [Todo](#todo)

This package make the primary key in eloquent is hashed.

Expand Down Expand Up @@ -72,10 +74,16 @@ $post = \App\Post::FindOrFailHashed('x7LR5oQJleJX60yPpNWV');
$post->id; //1
```

### Testing

``` bash
composer test
```

## Credits
- [Emad Rashdan](https://github.com/erashdan)


## TODO
```.todo
- [x] Build dev version.
- [] Create command for key generater.
Expand Down

0 comments on commit aa2f678

Please sign in to comment.