An open API service indexing awesome lists of open source software.

https://github.com/webdevcave/simple-cache-php

PSR Simple Cache Implementation
https://github.com/webdevcave/simple-cache-php

cache caching php psr psr-16 psr-16-simple-cache

Last synced: 5 months ago
JSON representation

PSR Simple Cache Implementation

Awesome Lists containing this project

README

          

# Simple Cache

[![StyleCI](https://github.styleci.io/repos/818333319/shield?branch=main)](https://github.styleci.io/repos/818333319?branch=main)
[![Latest Stable Version](https://poser.pugx.org/webdevcave/simple-cache/v/stable?format=flat-square)](https://packagist.org/packages/webdevcave/simple-cache)
[![Latest Unstable Version](https://poser.pugx.org/webdevcave/simple-cache/v/unstable?format=flat-square)](https://packagist.org/packages/webdevcave/simple-cache)
[![Total Downloads](https://poser.pugx.org/webdevcave/simple-cache/downloads?format=flat-square)](https://packagist.org/packages/webdevcave/simple-cache)
[![License](https://poser.pugx.org/webdevcave/simple-cache/license?format=flat-square)](https://packagist.org/packages/webdevcave/simple-cache)

PSR Simple Cache Implementation

Simple Cache caching data.
It provides a simple and intuitive API to cache data in files on the server.
This can be particularly useful for speeding up applications by reducing the need to fetch data from external
sources repeatedly.

## Features
- Simple Interface: Easy-to-use API for caching data.
- File-based Storage: Data is cached in files on the server.
- TTL (Time To Live) Support: Set expiration times for cached data.
- Namespacing: Organize cached data using namespaces.
- Composer Support: Install via Composer for easy integration with existing projects.
- Installation
- You can install Simple Cache PHP via Composer. Run the following command in your terminal:

```bash
composer require webdevcave/simple-cache-php
```

Alternatively, you can clone the repository or download the source files directly and include them in your project.

## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements,
please open an issue or a pull request on GitHub.

## License
This project is licensed under the MIT License - see the LICENSE file for details.