laravel-aus maintained by joshluongo
Description
Support for down under.
Author
Last update
2026/10/17 06:51
(dev-main)
License
Downloads
44
Tags
Laravel Aus 🦘
A small collection to classes to assist with making Laravel applications for the Australian market.
Installation
You can install the package via composer:
composer require joshluongo/laravel-aus
Optionally, you can publish the translations using
php artisan vendor:publish --tag="aus-translations"
Usage
Faker
// Register in your seeder file
public function configure(): OrganisationFactory|static
{
// Inject ABN and ACN providers.
$this->faker->addProvider(new \LuongoLabs\LaravelAus\Fakers\AbnAcnProvider($this->faker));
return $this;
}
Validation
Validator::make($request->all(), [
'abn' => new \LuongoLabs\LaravelAus\Rules\Abn(),
'acn' => new \LuongoLabs\LaravelAus\Rules\Acn(),
])->validate();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.