PHPackages                             antarctica/laravel-base-helpers - 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. antarctica/laravel-base-helpers

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

antarctica/laravel-base-helpers
===============================

A set of base helper functions for Laravel applications

v0.1.0(11y ago)175MITPHPPHP &gt;=5.4.0

Since Jan 12Pushed 11y ago2 watchersCompare

[ Source](https://github.com/antarctica/laravel-base-helpers)[ Packagist](https://packagist.org/packages/antarctica/laravel-base-helpers)[ RSS](/packages/antarctica-laravel-base-helpers/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Base Helpers
====================

[](#laravel-base-helpers)

A set of base helper functions for Laravel applications.

Installing
----------

[](#installing)

Require this package in your `composer.json` file:

```
{
	"require": {
		"antarctica/laravel-base-helpers": "~0.1"
	}
}
```

Run `composer update`.

Usage
-----

[](#usage)

- Helper functions are organised into multiple files described below within the `src/Helpers` directory
- All helpers are documented using DocBlocks to provide usage information.

Note: All helper functions are currently loaded into the global scope. This may change in the future.

### `utils.php`

[](#utilsphp)

General purpose functions. These functions may also be used within other functions, including within this package.

Contributing
------------

[](#contributing)

This project welcomes contributions, see `CONTRIBUTING` for our general policy.

Developing
----------

[](#developing)

To aid development and keep your local computer clean, a VM (managed by Vagrant) is used to create an isolated environment with all necessary tools/libraries available.

### Requirements

[](#requirements)

- Mac OS X
- Ansible `brew install ansible`
- [VMware Fusion](http://vmware.com/fusion)
- [Vagrant](http://vagrantup.com) `brew cask install vmware-fusion vagrant`
- [Host manager](https://github.com/smdahlen/vagrant-hostmanager) and [Vagrant VMware](http://www.vagrantup.com/vmware) plugins `vagrant plugin install vagrant-hostmanager && vagrant plugin install vagrant-vmware-fusion`
- You have a private key `id_rsa` and public key `id_rsa.pub` in `~/.ssh/`
- You have an entry like \[1\] in your `~/.ssh/config`

\[1\] SSH config entry

```
Host bslweb-*
    ForwardAgent yes
    User app
    IdentityFile ~/.ssh/id_rsa
    Port 22
```

### Provisioning development VM

[](#provisioning-development-vm)

VMs are managed using Vagrant and configured by Ansible.

```
$ git clone ssh://git@stash.ceh.ac.uk:7999/basweb/laravel-base-helpers.git
$ cp ~/.ssh/id_rsa.pub laravel-base-helpers/provisioning/public_keys/
$ cd laravel-base-helpers
$ ./armadillo_standin.sh

$ vagrant up

$ ssh bslweb-laravel-base-helpers-dev-node1
$ cd /app

$ composer install

$ logout
```

### Committing changes

[](#committing-changes)

The [Git flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) workflow is used to manage development of this package.

Discrete changes should be made within *feature* branches, created from and merged back into *develop* (where small one-line changes may be made directly).

When ready to release a set of features/changes create a *release* branch from *develop*, update documentation as required and merge into *master* with a tagged, [semantic version](http://semver.org/) (e.g. `v1.2.3`).

After releases the *master* branch should be merged with *develop* to restart the process. High impact bugs can be addressed in *hotfix* branches, created from and merged into *master* directly (and then into *develop*).

### Issue tracking

[](#issue-tracking)

Issues, bugs, improvements, questions, suggestions and other tasks related to this package are managed through the BAS Web &amp; Applications Team Jira project ([BASWEB](https://jira.ceh.ac.uk/browse/BASWEB)).

### Clean up

[](#clean-up)

To remove the development VM:

```
vagrant halt
vagrant destroy
```

The `laravel-base-helpers` directory can then be safely deleted as normal.

License
-------

[](#license)

Copyright 2015 NERC BAS. Licensed under the MIT license, see `LICENSE` for details.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4191d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6cf29a08b30c4f568f3b00f16bdb420ad2bc14efa856cf9e50f137216abf1682?d=identicon)[felnne](/maintainers/felnne)

---

Top Contributors

[![felnne](https://avatars.githubusercontent.com/u/7847612?v=4)](https://github.com/felnne "felnne (1 commits)")

### Embed Badge

![Health badge](/badges/antarctica-laravel-base-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/antarctica-laravel-base-helpers/health.svg)](https://phpackages.com/packages/antarctica-laravel-base-helpers)
```

###  Alternatives

[ducks-project/spl-types

Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string

1033.1k](/packages/ducks-project-spl-types)

PHPackages © 2026

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