=== SnapZip ===

Contributors: saandy87
Tags: download, zip, export, backup, developer
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Download installed WordPress plugins and themes as ZIP files directly from your dashboard.

== Description ==

SnapZip is a lightweight WordPress utility that adds a **Download ZIP** action to the Plugins and Themes screens, allowing administrators to quickly download installed plugins and themes as ZIP archives.

Whether you're creating a manual backup before an update, moving a customized plugin to another site, or simply keeping a local copy, SnapZip provides a fast and convenient way to generate downloadable ZIP files without additional configuration.

The plugin creates ZIP archives in a temporary system directory and automatically removes them after the download is complete, leaving no unnecessary files on your server.

= Features =

* Download installed plugins as ZIP files.
* Download installed themes as ZIP files.
* Temporary ZIP generation with automatic cleanup.
* No database tables or persistent storage.
* No configuration required.
* Lightweight and performance-friendly.
* Administrator-only access.
* Built using WordPress security best practices.

== Installation ==

1. Upload the `snapzip` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Visit the **Plugins** or **Themes** screen.
4. Click **Download ZIP** for any installed plugin or theme.

== Frequently Asked Questions ==

= Does SnapZip modify my plugins or themes? =

No. SnapZip only creates a temporary ZIP archive for download. It never modifies plugin or theme files.

= Where are ZIP files stored? =

ZIP archives are created in the server's temporary directory and are automatically deleted immediately after the download is completed.

= Does SnapZip require any configuration? =

No. Simply activate the plugin and the **Download ZIP** action will automatically appear on the Plugins and Themes screens.

= Can I download premium plugins or themes? =

Yes. SnapZip can download any installed plugin or theme that exists in your site's `plugins` or `themes` directory, provided you have administrator permissions.

== Screenshots ==

1. Download ZIP action on the Plugins screen.
2. Download ZIP action on the Themes screen.

== Changelog ==

= 2.0 =

* Added support for downloading installed themes.
* Improved security and validation.
* Migrated to a PSR-4 class structure.
* Improved code organization and maintainability.
* Performance improvements and internal cleanup.

= 1.0 =

* Initial public release.
* Added support for downloading installed plugins as ZIP archives.

== Upgrade Notice ==

= 2.0 =

This release includes improved security, support for downloading themes, and an updated PSR-4 architecture.