Skip to content

Commit 1732306

Browse files
committed
Update install instr.
1 parent 86dd636 commit 1732306

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

readme.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,12 @@ You can install this plugin into your CakePHP application using
2323
[composer](https://getcomposer.org):
2424

2525
```
26-
php composer.phar require cakephp/authentication
26+
composer require cakephp/authentication
2727
```
2828

29-
Load the plugin by adding the following statement in your project's
30-
`src/Application.php`:
31-
```php
32-
public function bootstrap(): void
33-
{
34-
parent::bootstrap();
35-
36-
$this->addPlugin('Authentication');
37-
}
29+
Then load the plugin:
30+
```
31+
bin/cake plugin load Authentication
3832
```
3933

4034
## Documentation

0 commit comments

Comments
 (0)