πŸ—„οΈ JsonShelter

Your Friendly PHP JSON Manager

Welcome!

JsonShelter is a nifty PHP library for effortless JSON data management. Let’s explore installation and usage!

Installation βš™οΈ

Method 1: Install via Composer 🎡

composer require almhdy/json-shelter

Method 2: Clone the Repository πŸ₯³

git clone https://github.com/almhdy24/JsonShelter.git

Method 3: Download as Archive πŸ“¦

Download a release from the releases page and extract it to your project.

Usage πŸ“–

Integrate JsonShelter easily! Include the class via Composer or directly.

Option 1: Using Composer πŸ₯‡


// Include Composer's autoload file
require 'vendor/autoload.php';

// Use JsonShelter
use Almhdy\JsonShelter\JsonShelter;

$db = new JsonShelter("myDatabase", "your_secret_key", "your_secret_iv");

Option 2: Directly Including the File 🌟

// Include JsonShelter class file
require 'path/to/JsonShelter.php';  // Adjust path

// Use JsonShelter
use Almhdy\JsonShelter\JsonShelter;

$db = new JsonShelter("myDatabase", "your_secret_key", "your_secret_iv");

Encryption πŸ›‘οΈ

You can easily enable or disable encryption for your records. This is a handy feature to keep your data secure!

Enable Encryption:

$db->enableEncryption();

Disable Encryption:

$db->disableEncryption();

Conclusion πŸš€

Thank you for exploring the JsonShelter library! For more detailed information and documentation, please visit our GitHub repository. We encourage you to use this powerful tool, share it with others, and contribute to its ongoing development!

Your feedback and contributions help us make this project even better. Let's build something great together!