PHPackages                             baytek/sage50 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. baytek/sage50

ActiveLibrary

baytek/sage50
=============

CSV Generator for Sage50 import

0.10.0(4y ago)015MITPHPPHP &gt;=7.2.0

Since Aug 21Pushed 4y ago2 watchersCompare

[ Source](https://github.com/baytek-team/Sage50-Journal)[ Packagist](https://packagist.org/packages/baytek/sage50)[ RSS](/packages/baytek-sage50/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Generate Sage50 Journal Entry Files
===================================

[](#generate-sage50-journal-entry-files)

[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)[![PHP](https://camo.githubusercontent.com/494e30cb4a5669b4b297c3d3be1467017884559c4afbc3abbcb43a93d5760cc4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e302e302d677265656e2e737667)](http://www.php.net/ChangeLog-7.php#7.0.0)

This simple library is used to generate Sage 50 journal files. There is little validation but the purpose is to have the library here in the event that we want to extend functionality.

Technical Docs
--------------

[](#technical-docs)

- [https://help-sage50.na.sage.com/en-ca/core/2017/Content/Import\_Export/ImportingGeneralJournalEntries.htm](https://help-sage50.na.sage.com/en-ca/core/2017/Content/Import_Export/ImportingGeneralJournalEntries.htm)

Alternatives
------------

[](#alternatives)

Something to look into as an alternative

-

Base use
--------

[](#base-use)

Below is a sample of how you would create a journal entry file. Note that a carbon date is required.

```
$journal = new Journal(new Carbon, 'BAT-2118-000001', 'Account Payable Entry number one');

$journal->addAllocation('2300', -1819.06, 'PST');
$journal->addAllocation('2302', -291.70,  'HST');
$journal->addAllocation('2304', -499.64,  'PREMIUM TAX');

$journal->allocateDiff('1210');

header('content-type: text/plain');
echo $journal;
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~276 days

Total

5

Last Release

1714d ago

PHP version history (2 changes)0.0.1PHP &gt;=7.0.0

0.10.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9562e34cab6f9761e22df75222bda0fc7daadd2c2e411b27aedca5628f2a6507?d=identicon)[Baytek](/maintainers/Baytek)

---

Top Contributors

[![baytek-yvon](https://avatars.githubusercontent.com/u/12969611?v=4)](https://github.com/baytek-yvon "baytek-yvon (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/baytek-sage50/health.svg)

```
[![Health](https://phpackages.com/badges/baytek-sage50/health.svg)](https://phpackages.com/packages/baytek-sage50)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[spatie/laravel-sitemap

Create and generate sitemaps with ease

2.6k14.6M107](/packages/spatie-laravel-sitemap)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k379.4k24](/packages/team-reflex-discord-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
