Search by

atom-fm / components

EdinOmeragic

Server-rendered UI components for Atom Framework

Package info

github.com/atom-fm/components

pkg:composer/atom-fm/components

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.1 2026-11-26 17:29 UTC

This package is auto-updated.

Last update: 2026-11-26 19:27:53 UTC


README

Server-rendered widgets, styles, and browser controls for Atom Framework.

Install the package in your application.

composer require atom-fm/components

Enable it by adding its module to the application's module registry.

use Atom\Components\Components;
use Atom\Integration\View\ComponentModule;

$modules->add(new ComponentModule(
    Components::definitions(),
    Components::resourceDirectory(),
    Components::DEFAULT_RESOURCE_PATH
));

Load the supplied stylesheet in the layout. Load the component scripts after the framework's browser runtime for password reveal and the Lookup and DatePicker controls.

<ComponentsStyles />
<ClientScripts morphdom />
<ComponentsScripts />

Register the framework's Client module to use ClientScripts. The component and client resources are served under their respective module paths.

Develop in the monorepo

Run composer setup from the repository root to install the package and showcase. Run composer components:check for component PHP tests and static analysis.

Start the showcase from its directory.

php -S 127.0.0.1:8022 -t public

See the browser controls guide for the demo and browser tests.