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. [Utility &amp; Helpers](/categories/utility)
4. /
5. baytek/sage50

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

CSV Generator for Sage50 import

0.10.0(4y ago)034MITPHPPHP &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 2d 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

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

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

1763d ago

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

0.10.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8820196?v=4)[Baytek](/maintainers/Baytek)[@baytek](https://github.com/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

[illuminate/support

The Illuminate Support package.

582110.9M40.0k](/packages/illuminate-support)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

292943.4k27](/packages/craftcms-feed-me)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k16](/packages/solspace-craft-freeform)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40140.4k2](/packages/erlandmuchasaj-laravel-gzip)[japanese-date/japanese-date

日本の暦、祝日を取り扱うライブラリ

169.9k](/packages/japanese-date-japanese-date)[limingxinleo/hyperf-utils

Utils for Hyperf.

29136.4k3](/packages/limingxinleo-hyperf-utils)

PHPackages © 2026

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