Skip to content

Commit

Permalink
Restore composer json.
Browse files Browse the repository at this point in the history
  • Loading branch information
ve3 committed Dec 12, 2024
1 parent 98fdef8 commit aad2424
Show file tree
Hide file tree
Showing 23 changed files with 5 additions and 1,150 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
# End line ending normalization. ----------------------

# Export ignore folders, files.
composer-fordevonly.json
tests export-ignore
.dev-notes export-ignore
.gitattributes export-ignore
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ $RECYCLE.BIN/
# cache folder
cache/
cache/*
# composer.json for development only.
/composer.json
# composer vendor folder
/vendor/
/vendor/*
# unit tests cache file.
.phpunit.result.cache
.phpunit.cache
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ Make sure that you have [Composer](http://getcomposer.org/) installed and then r
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.
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
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
}
],
"require": {
"php": ">=7.0"
"php": ">=7.0",
"psr/simple-cache": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 0 additions & 7 deletions vendor/autoload.php

This file was deleted.

Loading

0 comments on commit aad2424

Please # to comment.