Download the PHP package cyanide/hydrodactyl-themes without Composer

On this page you can find all versions of the php package cyanide/hydrodactyl-themes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hydrodactyl-themes

Hydrodactyl Themes

Per-user accent color customization for Hydrodactyl — six color themes: Blue, Green, Red, Yellow, Pink, Purple.

This package adds a theme selector to the Account Overview page. Each user picks their own accent color, which overrides the panel's sidebar highlight, buttons, links, focus states, and other branded elements. Changes apply immediately on save with a page reload.

Requires Hydrodactyl v6.


Themes

Theme Color Description
Blue #3b82f6 Hydrodactyl's default look (no-op stylesheet)
Green #22c55e Fresh green accent
Red #ef4444 Warmer red accent (vs Hydrodactyl's orange-red)
Yellow #eab308 Amber — good for dark-mode legibility
Pink #ec4899 Hot pink accent
Purple #a855f7 Rich purple accent

Requirements


Installation

Option A — Automated (recommended)

The script will detect your panel directory, install the package, publish assets, register routes, run the migration, and clear caches.

Option B — Manual

Step 1 — Install the Composer package

From inside your Hydrodactyl panel directory:

Step 2 — Publish theme CSS assets

This copies the theme CSS files to public/vendor/hydrodactyl-themes/css/.

Step 3 — Register the API routes

Open routes/api-client.php in your Hydrodactyl installation and add this line just before the closing }); of the Route::prefix('/account') group:

This places the theme routes inside Hydrodactyl's existing /api/client/account middleware group, so authentication and subject verification are handled automatically. The theme route is intentionally placed inside the section that does not require 2FA, so users can change their theme even before setting up two-factor authentication.

Step 4 — Run the database migration

This adds a theme column (varchar 32, default blue) to the users table. Existing users keep the default blue accent.

Step 5 — Clear caches

Step 6 — Integrate the React component

Copy the theme picker component into your Hydrodactyl frontend:

Copy the API helper file:

Then register the component in resources/scripts/components/dashboard/AccountOverviewContainer.tsx:

  1. Add the import near the top:

  2. Insert <ThemeSettings /> between the MFA section and the Panel Version section:

Step 7 — Rebuild the frontend

Step 8 — Done


Uninstallation

Also remove the require line from routes/api-client.php that you added in Step 3, and delete the copied React files from resources/scripts/components/dashboard/ThemeSettings.tsx and resources/scripts/api/account/updateAccountTheme.ts.


How it works

Backend

Frontend

CSS override strategy

Each theme CSS file overrides:

  1. CSS custom properties — --color-brand, --color-cream-400, --color-cream-300, --color-cream-500. These drive the sidebar active/hover text and icon colors.
  2. Sidebar selectors — .sidebar-container li:hover a, .sidebar-container:not(:has(li:hover)) li[data-active="true"] a — the sliding pill indicator and active nav item color.
  3. UI polish — ::selection color, focus ring colors, command palette caret color, Sonner toast accent borders.

Troubleshooting

The theme selector doesn't appear on the Account page

  1. Make sure you rebuilt the frontend after copying ThemeSettings.tsx (npm run build).
  2. Verify the component is properly imported in AccountOverviewContainer.tsx and placed inside the JSX.
  3. Check the browser console for any import errors.

Theme changes don't apply after saving

  1. Clear your browser cache — the stylesheet URL includes a version cache-buster, but the browser may have cached the old stylesheet.
  2. Check the browser DevTools Network tab for the theme CSS file (e.g. vendor/hydrodactyl-themes/css/green.css) and verify it returns HTTP 200.
  3. Check that public/vendor/hydrodactyl-themes/css/ contains all six CSS files. If not, re-run php artisan vendor:publish --tag=hydrodactyl-themes-assets --force.

Route returns 401 Unauthorized

Make sure the require statement in routes/api-client.php is placed inside the account route group (before the closing });). The theme routes rely on AccountSubject middleware applied by the parent group.

Migration fails — "duplicate column" or "duplicate key"

The migration has already run. This is safe to ignore.


File structure


All versions of hydrodactyl-themes with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cyanide/hydrodactyl-themes contains the following files

Loading the files please wait ...