php-crud-api
php-crud-api copied to clipboard
JSON File as Data source driver
Would it be hard, or basically possible with the current structure of the library to make it work with JSON files instead of a Database.
So it would be able to:
- Open JSON file and read content
- Create New JSON file
- Update JSON data in existing JSON file
- Delete JSON data in a JSON file
- Delete JSON file
It could be a Fork of this project or implemented as a Driver where there is a MySQL DB Driver and JSON File Driver
I love this library but I am in need of using JSON files with no DB for a certain project.
Any thoughts on how this might would be possibble with PHP-CRUD-API library or not worth the effort?
I love this library but I am in need of using JSON files with no DB for a certain project.
What is it that JSON files have that SQLite does not have? What requirements are you missing?