Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
am0s committed Jul 30, 2020
1 parent 4602ee1 commit 17e27a5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ composer require aplia/swark
## Documentation

An overview of all the template operators and workflow events, as well as detailed instructions
for creating new operators can be read at https://swark.readthedocs.io/
for creating new operators can be read at [https://swark.readthedocs.io/](https://swark.readthedocs.io/)

## Creating new operators

Expand All @@ -32,11 +32,13 @@ More details can be found in the documentation.
For instance to expose `phpinfo` one would do:

`swark.ini`:

```ini
OperatorMap[phpinfo]=MyProject\PhpInfoOperator
```

`MyProject/PhpInfoOperator.php`:

```php
<?php
namespace MyProject;
Expand All @@ -63,11 +65,11 @@ Then use it in a template with:
{phpinfo()}
```

# Contributors
## Contributors

This code was originally written by Jan Kudlicka and has been extended by developers at Aplia AS.
A detailed list of contributors can be found at https://github.com/Aplia/swark/graphs/contributors

# License
## License

GNU General Public License v2

0 comments on commit 17e27a5

Please sign in to comment.