--
You received this message because you are subscribed to the Google Groups "thephpleague" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague+unsubscribe@googlegroups.com.
To post to this group, send email to thephp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/8976b5e5-b940-4171-8b5d-7e561b0aa9e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hey,
I didn't know about this package, it was created recently, in September. Business was created two years ago.
I'm looking at their implementation and it seems you can only specify static opening hours. Business supports dynamic opening hours via closures. It's useful if you are open only one Monday every week and things like that. It provides more flexibility.
Also it can only tell you if it's open at a given date. Business gives you the next opening date. The internal algorithm is optimized so it translates to the next business date instead of a naive iteration.
IgnaceRegards,Hi Florian,What is the difference or the added valude between your package and the spatie opening hours. To be honest I did not look your package but by the description I found them to be similar.
On Tue, Dec 13, 2016 at 12:29 PM, Florian Voutzinos <flo...@voutzinos.com> wrote:
Hello,I would like to propose my Business library to The PHP League.It provides methods to work with dates depending on the business opening hours and holidays. You can use it to figure out the closest pickup time of a package, booking intervals, the number of business days until next year, etc.As far as I know, there is no other similar libraries in PHP.Regards,Florian
--
You received this message because you are subscribed to the Google Groups "thephpleague" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/2dd1969d-9624-40ea-b177-fa4a6e98873c%40googlegroups.com.