Skip to content

Commit 276b738

Browse files
authored
Merge pull request #46 from williamdes/readme-fix
Update the README
2 parents cd6d9f2 + e779538 commit 276b738

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Generic and extensible callable invoker.
44

5-
[![Build Status](https://img.shields.io/travis/PHP-DI/Invoker.svg?style=flat-square)](https://travis-ci.org/PHP-DI/Invoker)
5+
[![CI](https://github.com/PHP-DI/Invoker/actions/workflows/ci.yml/badge.svg)](https://github.com/PHP-DI/Invoker/actions/workflows/ci.yml)
66
[![Latest Version](https://img.shields.io/github/release/PHP-DI/invoker.svg?style=flat-square)](https://packagist.org/packages/PHP-DI/invoker)
77
[![Total Downloads](https://img.shields.io/packagist/dt/php-di/invoker.svg?style=flat-square)](https://packagist.org/packages/php-di/invoker)
88

@@ -12,7 +12,7 @@ Who doesn't need an over-engineered `call_user_func()`?
1212

1313
### Named parameters
1414

15-
Does this [Silex](http://silex.sensiolabs.org) example look familiar:
15+
Does this [Silex](https://github.com/silexphp/Silex#readme) example look familiar:
1616

1717
```php
1818
$app->get('/project/{project}/issue/{issue}', function ($project, $issue) {
@@ -28,7 +28,7 @@ $app->command('greet [name] [--yell]', function ($name, $yell) {
2828
});
2929
```
3030

31-
Same pattern in [Slim](http://www.slimframework.com):
31+
Same pattern in [Slim](https://www.slimframework.com):
3232

3333
```php
3434
$app->get('/hello/:name', function ($name) {
@@ -66,7 +66,7 @@ $app->command('greet [name]', function ($name, OutputInterface $output) {
6666
});
6767
```
6868

69-
[PHP-DI](http://php-di.org/doc/container.html) provides a way to invoke a callable and resolve all dependencies from the container using type-hints:
69+
[PHP-DI](https://php-di.org/doc/container.html) provides a way to invoke a callable and resolve all dependencies from the container using type-hints:
7070

7171
```php
7272
$container->call(function (Logger $logger, EntityManager $em) {
@@ -230,4 +230,4 @@ $invoker->call('WelcomeController::home');
230230

231231
That feature can be used as the base building block for a framework's dispatcher.
232232

233-
Again, any [PSR-11](http://www.php-fig.org/psr/psr-11/) compliant container can be provided.
233+
Again, any [PSR-11](https://www.php-fig.org/psr/psr-11/) compliant container can be provided.

0 commit comments

Comments
 (0)