Download the PHP package ww-site/filament-gallery without Composer

On this page you can find all versions of the php package ww-site/filament-gallery. 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 filament-gallery

WwGallery — Filament Gallery

Reusable Filament 5 gallery plugin built around two simple ideas:

Install from Packagist or via a Composer path repository during local development.

What's included

Layer Class Purpose
Model WwGallery\FilamentGallery\Models\MediaSource Parent entity (name, slug, is_active)
Model WwGallery\FilamentGallery\Models\MediaSourceSetting Key/value settings (e.g. disk, directory)
Service WwGallery\FilamentGallery\Services\MediaSourceBrowserService List / upload / delete files on a source
Resource WwGallery\FilamentGallery\Filament\Resources\MediaSources\MediaSourceResource Admin CRUD for media sources and settings
Page WwGallery\FilamentGallery\Filament\Pages\GalleryContent Filament page to browse & manage files
Form field WwGallery\FilamentGallery\Forms\Components\MediaPicker Upload + pick image from a media source
Column WwGallery\FilamentGallery\Tables\Columns\MediaPreviewColumn Table preview resolving disk from a source
Entry WwGallery\FilamentGallery\Infolists\Components\MediaPreviewEntry Infolist preview resolving disk from a source
Plugin WwGallery\FilamentGallery\FilamentGalleryPlugin Filament panel plugin entry point
Provider WwGallery\FilamentGallery\FilamentGalleryServiceProvider Loads migrations, config, views, langs

Installation in a host project

  1. Install via Composer from Packagist:

    Or, for local development from a path repository:

  2. Run composer update ww-site/filament-gallery.
  3. Register the plugin inside the target panel provider:

  4. Run migrations: php artisan migrate.
  5. (Optional) publish config/translations:

Filament admin theme & Tailwind (styling)

Filament 5 builds the panel CSS with Vite and Tailwind CSS v4. Your panel theme.css only includes utilities for files listed in @source directives. This package ships Blade views and HTML built from PHP (e.g. gallery thumbnails inside the MediaPicker modal). If you do not extend Tailwind’s content paths, those screens look unstyled (oversized images, missing layout).

In your host app, open the Filament theme file you pass to ->viteTheme(...) (for example resources/css/filament/admin/theme.css) and add both lines (paths are relative to that file; adjust if your theme lives elsewhere):

Then rebuild assets:

After every composer update ww-site/filament-gallery, run the build again if the package added or changed Tailwind classes.

Usage

Seed a media source

Pick an image inside a form

Render a preview in a table

Render a preview in an infolist

Render a resized image URL

If only width or only height is passed, the helper keeps the original image ratio.

Configuration

Default config is in config/filament-gallery.php:

Per-panel overrides live on the plugin:

Translations

Package ships with en and ru. Add your own by publishing translations and editing lang/vendor/filament-gallery/<locale>/filament-gallery.php.

Testing

Automated tests live in this package (PHPUnit + Orchestra Testbench). They are not installed in host applications — only require-dev when you work on the package itself.

From the package root (e.g. a git clone or your monorepo packages/ww-gallery):

composer test runs phpunit using phpunit.xml.dist.

What is covered today:

Contributors: add cases under tests/Unit/ and keep declare(strict_types=1); on new files.

Roadmap


All versions of filament-gallery with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^5.5
intervention/image Version ^3.0
illuminate/contracts Version ^12.0
illuminate/database Version ^12.0
illuminate/support Version ^12.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 ww-site/filament-gallery contains the following files

Loading the files please wait ...