PHPackages                             amkdev/server-path-field - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. amkdev/server-path-field

ActiveCraft-plugin

amkdev/server-path-field
========================

Craft CMS field type that provides a dropdown field that let you select a server path within the webroot.

1.0.0.5(2y ago)010MITPHP

Since Jun 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/amkdev/server-path-field)[ Packagist](https://packagist.org/packages/amkdev/server-path-field)[ RSS](/packages/amkdev-server-path-field/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

[![Plugin Icon: A folder with a dropdown arrow on a blue background.](./src/icon.svg)](./src/icon.svg)

Server Path Field plugin for Craft CMS 3.x
==========================================

[](#server-path-field-plugin-for-craft-cms-3x)

A dropdown field that lets you select a directory in the public webroot of a craftCMS project. It's possible to define a root path (within the webroot) and filter multiple directories.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require amkdev/server-path-field

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Server Path Field.

Server Path Field Overview
--------------------------

[](#server-path-field-overview)

Server Path Field adds a custom FieldType to Craft CMS called Server Path. This lets you choose from any direcotry found in the webroot, which then returns the path as twig value.

This plugin is basic and not so useful as standalone, but it extends the possiblities of other extensions need a specific public path. For instance [Server Files](https://github.com/amkdev/server-files) or [GetFiles](https://github.com/amkdev/craft-getfiles).

Disclaimer
----------

[](#disclaimer)

This plugin is distributed free of charge under the MIT License. The author is not responsible for any data loss or issues resulting from use of the plugin.

Special Thanks
--------------

[](#special-thanks)

This plugin is based on the Asset Folder Field plugin by Ryan Whitney.

This plugin was made with the help of assets and code found within the CraftCMS community. These folks are **not** affiliated with this plugin in any way, though I greatly appreciate their contributions to the community.

Thanks to [@mmikkel](https://github.com/mmikkel/IncognitoField-Craft3), whose [IncognitoField](https://github.com/mmikkel/IncognitoField-Craft3) plugin was heavily referenced and used as a general framework when using this plugin. 🎉

Thanks to [@anubarak](https://github.com/Anubarak), whose [StackExchange answer](https://craftcms.stackexchange.com/a/24011) provided the basis for the folder finding logic. 🎉

And thanks to [@landon](https://thenounproject.com/landan), whose [folder icon](https://thenounproject.com/search/?q=folder&i=1594035) was used in the logo. 🎉

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~439 days

Total

3

Last Release

923d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5300389?v=4)[Alexander M. Korn](/maintainers/amkdev)[@amkdev](https://github.com/amkdev)

---

Top Contributors

[![amkdev](https://avatars.githubusercontent.com/u/5300389?v=4)](https://github.com/amkdev "amkdev (7 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginfield typeserver path select

### Embed Badge

![Health badge](/badges/amkdev-server-path-field/health.svg)

```
[![Health](https://phpackages.com/badges/amkdev-server-path-field/health.svg)](https://phpackages.com/packages/amkdev-server-path-field)
```

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[acclaro/translations

Easily launch and manage multilingual Craft websites without having to copy/paste content or manually track updates.

1229.5k](/packages/acclaro-translations)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
