spatie/opening-hours
Define and query business opening hours with weekly schedules and exceptions. Check if a date/time is open or closed, get next open/close times, and format hours per day. Integrates with Carbon via cmixin/business-time for date-based queries.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| devizzent/cebe-php-openapi | 0.85 | Laravel-friendly integration of cebe/php-openapi for parsing, validating, and working with OpenAPI 3 specs in PHP. Load YAML/JSON definitions, inspect operations/schemas, and build tooling around your API contract with a small, focused wrapper package. | 38 | 37 | 14 | 557K | 4 | 15.1 | 1.7 | MIT | 4 months ago | |
| citizen63000/easy-api-core | 0.84 | — | 0 | 0 | 1 | 5 | 0 | 6.2 | 11.2 | MIT | 9 months ago | |
| chaplean/business-days-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 6 years ago | |
| label84/laravel-hours-helper | 0.82 | Generate Laravel collections of time/date intervals for any period: build dropdown-ready schedules with custom formatting, exclusions, support for past-midnight ranges, and multi-day spans. Simple facade API to create evenly spaced slots like 08:00–09:30 every 30 minutes. | 276 | 276 | 23 | 2K | 0 | 20.5 | 14.1 | MIT | 2 months ago | |
| spatie/holidays | 0.81 | Calculate public holidays by country (ISO alpha-2) with a simple API. Get an array of Holiday objects including localized name, CarbonImmutable date, and type (e.g., national). Supports multiple countries and is easy to extend by adding new country definitions. | 397 | 395 | 209 | 70K | 0 | 38.8 | 36.4 | MIT | 1 week ago | |
| florianv/business | 0.79 | Laravel package to validate, normalize, and format business identifiers and tax numbers (VAT, SIRET/SIREN, etc.) across multiple countries. Provides rules/helpers for forms and models, making compliant input handling and display easy. | 360 | 362 | 25 | 2K | 54 | 18.0 | 18.6 | MIT | 3 years ago | |
| league/period | 0.79 | — | 0 | 752 | — | 125K | — | 21.6 | 32.5 | — | — | |
| digital-craftsman/datetime-parts | 0.78 | Value objects for precise date/time parts in PHP: Moment (UTC-based) plus Time, Date, Month, Year, Day/Weekday and collections. Avoid misleading DateTime comparisons, handle timezone-safe modifications across DST, with Symfony normalizers and Doctrine types. | 0 | 0 | 0 | 0 | 5 | 25.3 | 2.2 | MIT | 2 months ago | |
| brick/date-time | 0.76 | Immutable, ISO-8601–focused date/time API for PHP 8.2+ built on top of native DateTime, adding missing types like LocalDate, LocalTime, YearMonth, and MonthDay. Inspired by Java’s JSR-310, well-tested, production-ready, Composer installable. | 362 | 366 | 35 | 149K | 19 | 30.2 | 49.0 | MIT | 5 months ago | |
| digital-craftsman/date-time-precision | 0.75 | Thin PHP value objects for precise date/time concepts: Moment (UTC-backed) plus Time, Date, Month, Year, Day, Weekday and collections. Avoid misleading DateTime comparisons, handle timezone-safe modifications (DST), with Symfony normalizers and Doctrine types. | 0 | 0 | 0 | 95 | 5 | 25.5 | 32.7 | MIT | 2 months ago | |
| konnco/filament-timematrix | 0.74 | — | 0 | 1 | 0 | 1K | 0 | 12.8 | 47.1 | — | 4 months ago | |
| spatie/period | 0.73 | Immutable date period objects for PHP with powerful comparison tools. Create periods from any DateTime (including Carbon), then calculate overlaps, gaps, intersections, differences, containment, and other complex comparisons across two or many periods. | 1,694 | 1,697 | 76 | 154K | 0 | 19.8 | 27.1 | MIT | 3 years ago | |
| spatie/sun | 0.71 | Compute sun position times for any coordinates: get sunrise, solar noon (zenith), and sunset as Carbon instances, optionally for a specific date. Simple PHP API from Spatie, ideal for scheduling, dashboards, and daylight-aware features. | 73 | 75 | 14 | 5K | 0 | 13.0 | 27.8 | MIT | 6 months ago |
How can I help you explore Laravel packages today?