PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backup, Restore, Migration & Clone / 4.3.0
WP STAGING – WordPress Backup, Restore, Migration & Clone v4.3.0
4.9.1 4.9.0 4.8.1 trunk 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.10.0 3.2.0 3.3.1 3.3.2 3.3.3 3.4.1 3.4.3 3.5.0 3.6.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 4.0.0 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.7.2 4.7.3 4.8.0
wp-staging / CLAUDE.md
wp-staging Last commit date
Backend 10 months ago Backup 10 months ago Basic 11 months ago Core 10 months ago Framework 10 months ago Frontend 11 months ago Notifications 1 year ago Staging 10 months ago assets 10 months ago languages 1 year ago resources 1 year ago vendor_wpstg 10 months ago views 10 months ago CLAUDE.md 10 months ago CONTRIBUTING.md 1 year ago Deactivate.php 10 months ago README.md 1 year ago SECURITY.md 2 years ago autoloader.php 3 years ago bootstrap.php 1 year ago constantsFree.php 10 months ago freeBootstrap.php 1 year ago install.php 1 year ago opcacheBootstrap.php 10 months ago readme.txt 10 months ago runtimeRequirements.php 1 year ago uninstall.php 11 months ago wp-staging-error-handler.php 1 year ago wp-staging.php 10 months ago
CLAUDE.md
41 lines
1 # WP Staging Pro - Source Code Structure
2
3 This directory contains the main source code for the WP Staging Pro WordPress plugin.
4
5 ## Key Architecture Components
6
7 ### Core Directories
8 - **`Framework/`** - Core framework and utilities (DI container, filesystem, database helpers)
9 - **`Backend/`** - WordPress admin interface and management functionality
10 - **`Frontend/`** - Public-facing functionality and user interfaces
11 - **`Staging/`** - Core staging/cloning functionality
12 - **`Backup/`** - Backup creation, management, and restoration features
13 - **`Pro/`** - Pro-only features (push/pull, advanced options, cloud storage)
14 - **`Basic/`** - Core functionality available in both free and pro versions
15
16 ### Important Files
17 - **`wp-staging-pro.php`** - Main plugin file (Pro version)
18 - **`bootstrap.php`** - Plugin initialization and setup
19 - **`constantsPro.php`** - Pro version constants and configuration
20 - **`autoloader.php`** - Class autoloader for plugin classes
21
22 ### Build Process
23 - **Source files are in `src/`** - This is the development code
24 - **Distribution files go to `dist/`** - Built versions with prefixed vendors
25 - **Always test with distribution files** - They have proper vendor prefixing
26
27 ### Vendor Libraries
28 - **`composer.json`** - Defines PHP dependencies
29 - **Libraries are prefixed during build** - Prevents conflicts with other plugins
30 - **Use `make dev_dist`** - To create properly prefixed distribution version
31
32 ### Free vs Pro Structure
33 - **`FREE-MAIN-PLUGIN/`** - Contains free version bootstrap files
34 - **`Pro/`** - Pro-only features and functionality
35 - **Constants control feature availability** - WPSTG_DEV_BASIC for free mode
36
37 ## Development Workflow
38 1. Edit source files in `src/`
39 2. Run `make dev_dist` to build distribution versions
40 3. Test with distribution files in `dist/wp-staging-pro/`
41 4. Use Docker environment with `make up` for testing