Download the PHP package jaocero/activity-timeline without Composer

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

Activity Timeline

![Header](https://raw.githubusercontent.com/199ocero/activity-timeline/4.x/art/images/jaocero-activity-timeline.jpeg)

Latest Version on Packagist Total Downloads

Beautiful activity timelines for Filament infolists, pages and actions, with first-class support for Spatie Activitylog.

Requirements

Installation

Add the plugin's views to your custom theme's CSS file (usually resources/css/filament/admin/theme.css), then rebuild your assets:

Usage

Wrap the timeline entries in an ActivitySection. It works like a RepeatableEntry: give it the key of an array (or relationship) and describe each item with the timeline entries.

ActivityTitle, ActivityDescription, ActivityDate and ActivityBadge extend Filament's TextEntry, so formatStateUsing(), placeholder(), html(), markdown(), limit(), date(), since(), dateTooltip() and friends all work. ActivityIcon extends IconEntry. Any other entry you add to the schema (for example a TextEntry) is rendered below the item.

Items without an icon get a colored dot. HTML is escaped unless you call html(), and html() output is sanitized.

Entries

Entry Shows
ActivityIcon The node on the rail. icon(), color() and animation(IconAnimation::Ping \| Spin \| Pulse \| Bounce)
ActivityTitle The title
ActivityDescription Text below the title
ActivityDate The date, right aligned. relative() shows "2 hours ago" with the full date in a tooltip
ActivityBadge A pill next to the title. Defaults to colors for created, updated, deleted and restored
ActivityCauser An avatar (or initials) next to the title. Accepts a model, a name, or ['name' => ..., 'avatar' => ...]. showName()
ActivityChanges A before → after list from ['old' => [...], 'attributes' => [...]]. attributeLabels(), formatValueUsing(), only(), except()

Section options

Spatie Activitylog

Install and set up spatie/laravel-activitylog, then add LogsActivity to your models. Both v4 and v5 are supported.

In any infolist

ActivityLogSection loads the activities of the infolist's record, with icons, causer avatars, event badges, relative dates and a changes list already configured:

It can be customized:

In a slide-over

On a resource page

Create a page that extends ActivityTimelinePage, and register it with a route containing {record}:

Styling

The timeline uses Filament's own section, badge, link and avatar styles, so it follows your panel's colors and dark mode. Every element has a CSS hook class for customization:

fi-timeline, fi-timeline-compact, fi-timeline-section, fi-timeline-list, fi-timeline-group-label, fi-timeline-item, fi-timeline-item-rail, fi-timeline-item-node, fi-timeline-item-icon, fi-timeline-item-dot, fi-timeline-item-content, fi-timeline-item-header, fi-timeline-item-causer, fi-timeline-item-title, fi-timeline-item-badge, fi-timeline-item-date, fi-timeline-item-description, fi-timeline-item-changes, fi-timeline-item-change, fi-timeline-item-change-old, fi-timeline-item-change-new, fi-timeline-item-extras, fi-timeline-show-more, fi-timeline-load-more, fi-timeline-empty-state.

All strings can be translated by publishing the translations:

Upgrading

From v1.x (Filament v3)

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of activity-timeline with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.0|^5.0
filament/infolists Version ^4.0|^5.0
illuminate/contracts Version ^11.28|^12.0|^13.0
spatie/laravel-package-tools Version ^1.15.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 jaocero/activity-timeline contains the following files

Loading the files please wait ...