Download the PHP package folivaresrios/chileanvacation without Composer

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

ChileanVacation Package

Codeship Status for folivaresrios/chileanvacation License

ChileanVacation permite calcular las vacaciones proporcionales como progresivas basado en la ley Chilena

El package sigue los estandares PSR-1, PSR-2, and PSR-4.

Requerimientos

La rama Master posee los siguiente requerimientos

Como instalar?

[Usando Composer]

Agrega el package en composer.json - de la siguiente manera:

o a traves de linea de comando

Como Usar?

Existen 5 clases diferentes; Person, Vacation, Holidays, Certificate, Job y para dar flexibilidad al package 4 de estas poseen Interfaces por si ya tienes implementadas estas en tu proyecto con el fin de solo implementar los metodos.

Se debe crear un objeto Certificate con los años acreditados por el documento de la afp como la fecha de entrega de este.

Tambien debes crear un objeto Holiday pasando un arreglo con las fechas correspondientes a los feriados

El objeto Job contiene la fecha de inicio como la de termimno y adicionalmente debe tener los feriados

Por ultimo el objeto Person, que contiene a Job. Con este ultimo objeto trabajaremos y podremos calcular las vacaciones

Los metodos los encontramos "encapsulados" en la clase Vacation

getReturnDate($holiday)

Obtenemos la fecha de retorno de las vacaciones solicitadas.

getProportionalDays($person)

Obtenemos la fecha de retorno de las vacaciones solicitadas.

getWorkedDays($person)

Obtenemos los dias trabajados en la empresa

getProgressiveVacations($person)

Obtenemos los dias de vacaciones proporcionales obtenidos a la fecha

getRemainingProgressiveVacations($person)

Obtenemos los dias restantes de vacaciones proporcionales obtenidos a la fecha

getRemainingProgressiveVacations($person)

Obtenemos los dias restantes de vacaciones progresivas obtenidos a la fecha

Reportando errores

Si tienes problemas con ChileanVacation, abre un "issue" en GitHub.

Contribuir

Si quieres contribuir con ChileanVacation creado algo que quiereas agregar,envia un pull requests o abre un issues.


All versions of chileanvacation with dependencies

PHP Build Version
Package Version
Requires php Version >= 7.0.0
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 folivaresrios/chileanvacation contains the following files

Loading the files please wait ....