Download the PHP package jacerider/neo_animate without Composer

On this page you can find all versions of the php package jacerider/neo_animate. 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 neo_animate

Neo | Animate

Scroll-triggered viewport animations for Neo components: reveal on enter, item stagger, parallax, and optional exit animations. Built on the existing neo/animate catalog (an animate.css fork namespaced as .neo-animate--*) plus a small IntersectionObserver driver — no external animation library.

How it works

Authors write marker classes (they carry no animation CSS themselves); the driver (src/js/neo-animate.ts) applies the real catalog classes at the right moments. Only the driver ever writes neo-animate--animated and raw catalog names. Elements queued for a reveal are pre-hidden (opacity only) behind an html.neo-animate-ready gate added by an inline head script — no-JS visitors and prefers-reduced-motion users always see content.

Class API

Class / attribute Written by Meaning
neo-animate prop / dev Reveal this element on viewport enter
neo-animate-enter--<catalogName> prop / dev Which catalog animation plays on enter (e.g. neo-animate-enter--fadeInUpSmall)
neo-animate-exit--<catalogName> dev Play this catalog animation on exit, then re-arm (implies repeat)
neo-animate-repeat dev Re-arm on exit without an exit animation
neo-animate-stagger prop / dev Cascade .neo-animate-item descendants (+100ms each; tune with data-neo-animate-stagger="<ms>"). Items are observed independently and cascade as they enter the viewport — not when the root does — so a slow scroller always sees it
neo-animate-item dev, in twig Marks a staggerable child
neo-animate--{fastest,faster,fast,slow,slower,slowest} prop / dev Speed — catalog compound modifiers, inert until armed
neo-animate--delay-{fastest…slowest} prop / dev Delay — same
data-neo-parallax="<speed>" dev rAF parallax (e.g. 0.15, clamped ±1). Never on the same element as a reveal — transforms fight; use a child/wrapper

Playground (/admin/config/neo/animate)

A frontend-developer tool under Configuration → Neo → Animate:

Gated by the access neo_animate demo permission (uid 1 bypasses; grant it to any role that should see the tool).

Twig authoring (ordinary templates)

For non-Alchemist templates (node/views/block/field twigs) two filters apply the same animations without hand-writing marker classes — no library attach needed (the driver is global):

Friendly names (fade, fade-up/down/left/right, zoom-in/out, slide-*, flip-*, bounce) map to catalog effects; any other value passes through as a raw catalog name, so the full catalog (tada, jello, fadeInUpSmall, …) is reachable. Options: speed (bucket), delay (ms number or bucket string), once (false → replays via repeat), exit (a catalog name). Precise delay values ride on a data-neo-animate-delay attribute the driver applies on reveal.

Alchemist props

Any component opts in with:

Stagger additionally needs the component's repeating element to carry the neo-animate-item class in its twig. Editors picking Stagger on a component without item markers is a harmless no-op; Animation "None" never hides anything.

Behavior matrix

Context Behavior
Live page Pre-hidden, reveals at 12% visibility, once by default
Alchemist preview iframe Plays immediately on every reload (demo mode); exit/repeat disabled
Preview screenshot capture (screenshotComponents postMessage) Running animations jump to their final frame before html2canvas captures
prefers-reduced-motion Nothing hidden, nothing animated
JavaScript disabled Nothing hidden (ready class never added)

Pitfalls


All versions of neo_animate with dependencies

PHP Build Version
Package Version
Requires drupal/core Version ^10.3 || ^11
jacerider/neo Version ^1
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 jacerider/neo_animate contains the following files

Loading the files please wait ...