Skip to content

Commit

Permalink
Update Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed May 30, 2024
1 parent df5b71a commit fb2981a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@
"ext-memcached": "*",
"ext-redis": "*"
},
"provide": {
"psr/cache-implementation": "1.0",
"psr/simple-cache-implementation": "1.0"
},
"license": "MIT"
}
7 changes: 5 additions & 2 deletions docs/basic-usage-psr16-simplecache.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Basic Usage
# Basic Usage - Psr16 Simple Cache

All implementations are PDR-16. So, just create an instance:
Psr16 is a standard for cache in PHP with less verbosity than Psr6.

You can just instantiate the cache engine and use it as you can see below.

```php
<?php
Expand All @@ -19,3 +21,4 @@ if (!empty($result))
}
return $result;
```

2 changes: 1 addition & 1 deletion docs/basic-usage-psr6-cachepool.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Basic Usage
# Basic Usage - Psr6 Cache Pool

## Get an element from cache (using Factory...)

Expand Down
4 changes: 3 additions & 1 deletion docs/setup-log-handler.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Setup Log Handler

This will available for the cache instances:
You can add a PSR Log compatible to the constructor in order to get Log of the operations.

## Example

```php
<?php
Expand Down

0 comments on commit fb2981a

Please sign in to comment.