Download the PHP package mchampaneri/timeslicer without Composer

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

laravel-timeslicer

Laravel 5 package for generating time slots for a time duration

Changes

Description

laravel-timeslicer is a s package that generates time slots of same length from starting time to ending time for a range of days,months or even years. You can create slots of differnt time lengths or/and differnt starting or/and ending time for differnt interval of days by changing the inputs accordingly.

Installation

First Get It Through The Composer

Copy The ServiceProvider To config/app.php in providers array

Copy The Facade To config/app.php in aliases array

Second You have to publish the package

This command will publish all assets file need by the package at appropriate direcotries.

Third do Migrate

Here migrate is neccesary because this package has its own table to manage timeslots and related data

After This Three Steps are ready to use the timeslicer

Setup

At first you have to set the config file of timeslicer. Define the name of your resource model, consumer model and namespace of your model files.

 Resource model : Model For Which You Want To Genreate The Time Slots
        for example doctors, resturant's table, class of school
 Consumer Model : Model Which are going to relate with Resource object throgh Timeslice
        for example patient, customer , subject

Here this names are Case Sensitive so add this name carefully.

In the second step you are ready to use this package where ever you want

Functions

Function generates the unique time slices based on the date, start time and end time for start date to the end date here all variables are the fields of the table.

Here Consumer_id is The id of a consumer object. This function will book the current timeslice for the consumer object which's id is passed as argument.

Unbook the current timeslice from the reservation

Returns the resource object which is related with the current timeslice.

Returns the consumer object which is related with the current timeslice.

Returns the all time slices created for the particular resource.

Returns the all time slices of the resource on the particular date.

Returns the all booked time slices of the resource **on** the particular **date**.

Returns the all unbooked/free time slices of the resource **on** the particular **date**.

Returns the input of 12hr clock in 24hr clock output

Returns the input of 24hr clock in 12hr clock with appropriate suffix ie am/pm

All versions of timeslicer with dependencies

PHP Build Version
Package Version
No informations.
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 mchampaneri/timeslicer contains the following files

Loading the files please wait ....