Skip to content

Commit

Permalink
v3.0.4
Browse files Browse the repository at this point in the history
Try to fix composer.json.
  • Loading branch information
ve3 committed Dec 12, 2024
1 parent 3da6148 commit 98fdef8
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $RECYCLE.BIN/
cache/
cache/*
# composer.json for development only.
./composer.json
/composer.json
# unit tests cache file.
.phpunit.result.cache
.phpunit.cache
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ composer require rundiz/simple-cache
```

### For development
To install for development, clone this repository then copy composer-fordevonly.json to composer.json and check update packages using composer packages.
This is for prevent package dependencies conflict with the others while keep this package running on wider PHP versions.
To install for development, clone this repository then copy **composer-fordevonly.json** to **composer.json** and check update packages using composer packages.
This is for prevent package dependencies conflict with the others while keep this package running on wider PHP versions.
The required packages on composer.json must not exists, only php version.

## Example
We currently support APC, APCu, Memcache, Memcached, File system drivers. These are how to initialize for each driver class.
Expand Down
23 changes: 23 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "rundiz/simple-cache",
"type": "library",
"description": "The simple and easy PHP cache drivers for cache any PHP data type.",
"keywords": ["cache", "php cache", "filesystem cache", "file system cache", "APC", "APCu", "Memcache", "Memcached"],
"license": "MIT",
"authors": [
{
"name": "Vee W.",
"email": "kawewong@gmail.com",
"homepage": "http://rundiz.com",
"role": "Developer"
}
],
"require": {
"php": ">=7.0"
},
"autoload": {
"psr-4": {
"Rundiz\\SimpleCache\\" : "src"
}
}
}
4 changes: 2 additions & 2 deletions src/SimpleCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
* Rundiz SimpleCache
*
* @since 3.0
* @version 3.0.3
* @version 3.0.4
*/
class SimpleCache
{


const VERSION = '3.0.3';
const VERSION = '3.0.4';


}

0 comments on commit 98fdef8

Please sign in to comment.