$app->pluginPath = '/path/to/app/plugins/';
Example 2: In another scenario suppose we need to use a plugin called `bar.php` located in the directory `vendor/acme/plugins`. We can set the `pluginPath` like this:
Then we can load the `bar.php` plugin like this:require_once $app->pluginPath . 'bar.php'; ``` From the above examples, we can see that the `pluginPath` property is a package library that helps to load external libraries or plugins from different locations.