Download the PHP package phpinnacle/tempo without Composer

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

PHPinnacle Tempo

phpinnacle/tempo provides date and time utilities together with custom Filament pickers, date-range filters, and an extensible calendar widget.

Installation

Filament fields

The date and time pickers support custom formats, locale, timezone, minimum and maximum values, and optional automatic closing. The package registers its field JavaScript and CSS through Filament assets.

Duration has visual day, hour, minute, and second controls plus one masked text input. Its translated unit suffixes stay fixed within the input; Space and the Left and Right arrow keys move between numbers. When the text input loses focus, its value is redistributed across the enabled units. Months and years are not supported because their length depends on the calendar date. The field stores a non-negative integer number of seconds by default. Use storeAs('string') to store a duration string instead; storeAs('seconds') restores the default. units() limits both editors to the listed units; for example, minutes and seconds can represent 1h 30m as 90m. Values in seconds must be divisible by the smallest enabled unit. The text editor has a clear button and writes normalized values; invalid numbers remain available for validation. storeAs('string') always stores canonical d/h/m/s suffixes regardless of the display language. An empty field stores null, while zero stores 0 or a string with the smallest enabled unit. quickValues() overrides the number shortcuts separately for any unit, leaving unspecified units at their defaults. presets() replaces the built-in quick durations with a label-to-duration map; pass an empty array to hide the preset menu. All options accept Filament callbacks.

CronExpression stores a five-field cron string. Call showDescription() to display a localized plain-language description below the editor; it is hidden by default. It offers presets and visual controls for intervals and selected values in each field. In the Every grid, interval 1 writes *; larger intervals write */N. Consecutive or evenly spaced selections are written as ranges, with a step when needed. The day-of-month grid includes Last, which writes L for the last day of each month; L must stand alone in that field. Use the expression tab for combinations the visual controls cannot represent. Validation accepts numeric values, three-letter English month and weekday names, and ? as an unspecified day of the month or week (but not both).

gridColumns() sets the number of value-grid columns per cron part (minute, hour, day, month, or weekday). Unspecified parts keep their defaults: six for minutes, four for hours and days of the month, three for months, and two for weekdays.

defaultMode() accepts visual (the default) or expression for the initially selected editor. presets() replaces the built-in list with a label-to-expression map; pass an empty array to hide the preset menu.

showDayOfWeek(false) hides the weekday controls in Visual mode. The fifth cron field remains available in Expression mode and keeps its value when other parts are edited visually. Weekday controls are shown by default. All cron field options (gridColumns(), showDescription(), showDayOfWeek(), defaultMode(), and presets()) also accept Filament callbacks. For example, fn (Get $get) => (bool) $get('show_day_of_week') can read a live checkbox elsewhere in the form.

Table filters

The filter name identifies its form state. By default it is also used as the database column; use column() when they differ.

Clock

Calendar widget

CalendarWidget delegates event loading to event sources returned by the widget subclass. Each source is also exposed as a filterable event category. The default record action opens the event URL:

An event source provides its stable filter key, visible label, icon, color, and events for the requested range:

Register the configured widget through Filament as usual:

Tempo requests only the currently selected sources, merges and sorts their events, and applies the global phpinnacle-tempo.calendar.event_limit. It mounts recordAction() when an event has a URL or its viewable flag is enabled. Override recordAction() with CalendarRecordAction when clicks should open a modal or perform another operation. The clicked CalendarEvent is injected into a callback parameter named $event. Event details cross the browser; use the event ID to reload and authorize domain records before reading or changing protected data.

Event sources may expand RFC 5545 recurrence rules without coupling Tempo to their storage model:

The expander preserves event duration, includes occurrences overlapping the beginning of the requested range, and returns at most the requested limit. Invalid recurrence rules retain the underlying RRULE exception semantics.

License

The MIT License (MIT). See License File.


All versions of tempo with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
cmixin/business-day Version ^1.20
danharrin/date-format-converter Version ^0.3.1
filament/filament Version ^4.0|^5.0
phpinnacle/iconic Version ^1.0
rlanvin/php-rrule Version ^2.6
spatie/laravel-package-tools Version ^1.92
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 phpinnacle/tempo contains the following files

Loading the files please wait ...