Skip to content

Commit

Permalink
Rename package to be compliant with other package names.
Browse files Browse the repository at this point in the history
  • Loading branch information
koenhoeijmakers committed Jul 22, 2017
1 parent c5822a3 commit 9f733ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "koenhoeijmakers/argon2-laravel",
"name": "koenhoeijmakers/laravel-argon2",
"description": "Argon2 implementation",
"require": {
"php": "^7.2",
Expand All @@ -14,7 +14,7 @@
],
"autoload": {
"psr-4": {
"KoenHoeijmakers\\Argon2Laravel\\": "src/"
"KoenHoeijmakers\\LaravelArgon2\\": "src/"
}
}
}
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Argon2 Laravel
[![Packagist](https://img.shields.io/packagist/v/koenhoeijmakers/argon2-laravel.svg?colorB=brightgreen)](https://packagist.org/packages/koenhoeijmakers/argon2-laravel)
[![license](https://img.shields.io/github/license/koenhoeijmakers/argon2-laravel.svg?colorB=brightgreen)](https://github.com/koenhoeijmakers/Argon2-Laravel)
[![Packagist](https://img.shields.io/packagist/dt/koenhoeijmakers/argon2-laravel.svg?colorB=brightgreen)](https://packagist.org/packages/koenhoeijmakers/argon2-laravel)
[![Packagist](https://img.shields.io/packagist/v/koenhoeijmakers/laravel-argon2.svg?colorB=brightgreen)](https://packagist.org/packages/koenhoeijmakers/argon2-laravel)
[![license](https://img.shields.io/github/license/koenhoeijmakers/laravel-argon2.svg?colorB=brightgreen)](https://github.com/koenhoeijmakers/Argon2-Laravel)
[![Packagist](https://img.shields.io/packagist/dt/koenhoeijmakers/laravel-argon2.svg?colorB=brightgreen)](https://packagist.org/packages/koenhoeijmakers/argon2-laravel)

A drop-in Argon2 implementation for Laravel.
(which will be usable from `PHP 7.2` if compiled with the `--with-password-argon2` option)
Expand All @@ -15,7 +15,7 @@ Please be careful while changing the HashServiceProviders, if your application i

Require the package.
```php
composer require koenhoeijmakers/argon2-laravel
composer require koenhoeijmakers/laravel-argon2
```

Search inside the `config/app.php` for the `Illuminate\Hashing\HashServiceProvider::class` and replace it with the `KoenHoeijmakers\Argon2Laravel\HashServiceProvider::class`.
Expand Down
2 changes: 1 addition & 1 deletion src/Argon2Hasher.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace KoenHoeijmakers\Argon2Laravel;
namespace KoenHoeijmakers\LaravelArgon2;

use Illuminate\Contracts\Hashing\Hasher as HasherContract;
use RuntimeException;
Expand Down
2 changes: 1 addition & 1 deletion src/HashServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace KoenHoeijmakers\Argon2Laravel;
namespace KoenHoeijmakers\LaravelArgon2;

use Illuminate\Support\ServiceProvider;

Expand Down

0 comments on commit 9f733ad

Please sign in to comment.