Addon Inspector

Open to all! Ask other shopowners for help.
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Addon Inspector

Post by burt »

frankl wrote: Tue Jul 22, 2025 8:06 am I think this is a must have. But where is the information for the cards being drawn from? Also a great suggestion to be able to turn addons off/on with a click. Been thinking about that for ages.
JSON files (one for each addon), all of them stored in one place on the shopowners website.
For this proof of concept I stored them all at /includes/work/addon_metadata/

Each file looks like this;

Code: Select all

{
  "name": "Toast Push Notifications",
  "description": "This addon uprates Alerts to Toasts, which will provide a modern sleek look to your site",
  "version": "0.1",
  "author": {
    "name": "Gazza",
    "url": "gb.com",
    "email": "gb@gb.com"
  },
  "compatibility": {
    "min_version": "1.0.8.21",
    "max_version": "1.1.0.3"
  },
  "category": "Hooks",
  "url": "https://phoenixcart.org/forum/app.php/addons/paid_addon/toast_push_notifications/",
  "bundled_files": [],
  "modified_files": [],
  "last_updated": "2025-07-17"
}
Note that I thought about compat, and the min/max can be both or either one.

Code: Select all

  "compatibility": {
    "min_version": "1.1.0.0"
  },
Good for 1.1.0.0 and above.

Code: Select all

  "compatibility": {
    "max_version": "1.0.9.6"
  },
Good for 1.0.9.6 and lower.

Code: Select all

  "compatibility": {
    "min_version": "1.0.9.7",
    "max_version": "1.0.9.10",
  },
Etc.

It would need addon makers to adopt the process of having an extra file in their addons, but I think most addon makers would be OK with that, as it's more visibility.

Would need to decide what data needs to show in these Cards

Possible future extras;

1. page that can be used to create a correctly formatted JSON file
2. ability to turn off a module
3. ability to destroy a module (ie completely delete from shopowners website)
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
frankl
Builder
Posts: 159
Joined: Tue Feb 23, 2021 8:39 pm
Phoenix Version: v1.1.0.4
Has thanked: 17 times
Been thanked: 25 times

Re: Addon Inspector

Post by frankl »

4. PHP versions supported
azpro
Contributor
Posts: 177
Joined: Fri Nov 06, 2020 8:25 am
Phoenix Version: v1.1.0.6
Has thanked: 30 times
Been thanked: 34 times

Re: Addon Inspector

Post by azpro »

Is Addon Inspector Clouseau lost in the cloud? :D

Never heard of him again - correct?
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Addon Inspector

Post by burt »

Could have been the start of something, but as usual, other things are of more importance.

Few people got interested which was good though!
I am not here to build for you.
I am here to build with you. Let's help each other.
azpro
Contributor
Posts: 177
Joined: Fri Nov 06, 2020 8:25 am
Phoenix Version: v1.1.0.6
Has thanked: 30 times
Been thanked: 34 times

Re: Addon Inspector

Post by azpro »

Will wait patiently off course :+1:
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Addon Inspector

Post by burt »

Without loads of people getting interested ... things like this are, unfortunately, never going to arrive.

It's the truth of almost all Open Source projects.
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply