定制 laraverse/atlas 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

laraverse/atlas

最新稳定版本:v1.0.5

Composer 安装命令:

composer require laraverse/atlas

包简介

Laravel package providing comprehensive global data for your next project

README 文档

README

Atlas

Atlas

Laravel package providing comprehensive global data for your next project

Installation

To install the package, use Composer:

composer require laraverse/atlas

Optional: The service provider will automatically get registered. Or you may manually add the service provider in bootstrap/providers.php file:

return [
    // ...
    Laraverse\Atlas\AtlasServiceProvider::class
];

You should publish the models, migration, views, assets and the config files with:

php artisan vendor:publish --provider="Laraverse\Atlas\AtlasServiceProvider"

Note: After vendor files are published, access atlas config files in the project root. Enable or disable facilities via config/atlas/facilities.php.

return [
    'enabled' => [
        # Tables::CITIES, (By default, It's disabled due to its large data size)
        Tables::COUNTRIES,
        Tables::CURRENCIES,
        Tables::PAYMENT_METHODS,
        Tables::PAYMENT_PRODUCTS,
        Tables::STATES,
        Tables::TIMEZONES,
        Tables::CONTINENTS,
    ],
]

You should install the atlas with:

# It will setup the atlas to serve comprehensive global data.
php artisan atlas:install

Note: Seeding the data will take time due to its large size.

Usage

In your project file include the atlas client like below:

use Illuminate\Support\Collection;
use Laraverse\Atlas\Client;

class YourClass
{
    public function call(Client $client) : Collection
    {
        // Start using Atlas client.
        $client->getCurrencies();
    }
}

Documentation and Usage Instructions

You can access the built-in documentation module by navigating to /atlas/docs after setting up Atlas.

Alternatively, Check out the Documentation for detailed usage instructions.

Credits

License

The MIT License (MIT). Please see License File for more information.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

统计信息

  • 总下载量: 44
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 21
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 21
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固