You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These environment variables define the connection to your DotCMS instance, allowing the SDK to authenticate and make API calls.
82
82
83
+
### Using Local SDK Development Setup
84
+
85
+
If you want to test the Laravel example with a local version of the PHP SDK (for development or testing new changes), you can use the `composer.dev.json` configuration:
86
+
87
+
1. First, ensure you're in the Laravel example directory:
88
+
```bash
89
+
cd examples/dotcms-laravel
90
+
```
91
+
92
+
2. If you have previously run `composer install`, remove the vendor directory:
93
+
```bash
94
+
rm -rf vendor
95
+
```
96
+
97
+
3. Install dependencies using the development configuration:
98
+
```bash
99
+
COMPOSER=composer.dev.json composer install
100
+
```
101
+
102
+
This will use the local SDK from the parent directory instead of the published package version.
103
+
83
104
## Configuration
84
105
85
106
All the configuration described below is already implemented in this example project. The following sections explain the key components and how they work together to integrate DotCMS with Laravel.
0 commit comments