Download the PHP package dcodegroup/laravel-xero-employee without Composer

On this page you can find all versions of the php package dcodegroup/laravel-xero-employee. 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 laravel-xero-employee

Laravel Xero Timesheet Sync

This package provides the standard xero functionality for syncing Xero Employee ID with users and assigning pay rates to users.

Installation

You can install the package via composer:

Then run the install command.

This will publish the configuration and migrations file

Run the migrations

Configuration

After running install the following fields will be added to the users table.

You will need to add these fields to your fillable array within the User::class model

You also need to add the following interface to the User::class model.

You should then implement the methods defined in the contract. eg Like below but what ever your using

The assumption is you have already synced the payroll details from the dcodegroup/laravel-xero-payroll-au.

There is a second command you can use to automatically populate the fields added for earnings rate to default to those you have already configured within dcodegroup/laravel-xero-payroll-au. You can run this multiple times as you get new users as it will only update users that have no values.

You should add the following trait to the Users model.

This package provides a route that can be used to provide an endpoint to dispatch the SyncXeroEmployee job.

[example.com/xero-employee/{user}] xero_employee.sync Please see the config file if you wish to customise the route. This will dispatch the job for the user and sync them to your application.


All versions of laravel-xero-employee with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
dcodegroup/laravel-xero-oauth Version ^1.0
dcodegroup/laravel-xero-payroll-au Version ^0.1
laravel/framework Version ^7.0|^8.0|^9.0|^10.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 dcodegroup/laravel-xero-employee contains the following files

Loading the files please wait ....