Download the PHP package sportfinder/time without Composer
On this page you can find all versions of the php package sportfinder/time. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sportfinder/time
More information about sportfinder/time
Files in sportfinder/time
Download sportfinder/time
More information about sportfinder/time
Files in sportfinder/time
Vendor sportfinder
Package time
Short Description Time management library to build complex business logic and agenda
License MIT
Package time
Short Description Time management library to build complex business logic and agenda
License MIT
Please rate this library. Is it a good library?
Informations about the package time
PHP Time management package
For several projects, I had to manage time, daily schedule, weekly schedule, and more. I need to be able to describe a weekly schedule and generate concrete timespans from the weekly schedule.
Those classes will help you:
- manage events or any object with a starting and ending points in time
- Compute mobile phone usages & detailed consumption.
- define if a resource is available or not based on its usages
- detect availability/free time in a weekly schedule.
- generate optimized daily/weekly schedules
Project using this package:
Inspired by
- My experience at BePark
Interfaces & classes
Interfaces
``
``
``
Classes
- DateSlot: contains complex & useful business logic
- Units: final class that contains time units
- DateTime: a specialization of \DateTime that implements ComparatorInterface and DateSlotableInterface
``
``
Usages
Creating the object
``
modifying an object
``
comparing
``
intersect
``
substract
``
Open questions & reflexions
- Should DateSlot be immutable? (cfr sub and add method)
- Should we create a ImmutableDateSlot class?
Contributing & contact
SportFinder is a belgian company. The platform is based on Symfony. We will publish as much as possible code to open source community. We are new to OpenSource contribution.
Fee free to contact us:
- by mail: [email protected]
- personally [email protected] or [email protected]
All versions of time with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.3|8.*
The package sportfinder/time contains the following files
Loading the files please wait ....