joshluongo/laravel-aus
Composer 安装命令:
composer require joshluongo/laravel-aus
包简介
Support for down under.
README 文档
README
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.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-05