承接 visuellverstehen/statamic-asset-atlas 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

visuellverstehen/statamic-asset-atlas

Composer 安装命令:

composer require visuellverstehen/statamic-asset-atlas

包简介

Track where your Statamic assets are used to make moving, replacing and deleting them quick and easy.

README 文档

README

Track where your Statamic assets are used to make moving, replacing and deleting assets quick and easy.

Requirements

This package is based on using a database. It doesn't matter if you use the database for Statamic or not, but AssetAtlas tracks all asset references in entries, terms, global-sets and users as database records. This can be a simple SQLite database as it is preset in current Laravel installations.

How to use

Install the package:

composer require visuellverstehen/statamic-asset-atlas

Publish and run the required migration:

php artisan vendor:publish --tag=asset_atlas_migrations
php artisan migrate

Now whenever you save an item that relates to an asset, the reference is tracked in AssetAtlas. On moving, deleting or replacing an asset, AssetAtlas provides all references to the asset instead of the base Statamic logic of checking all possible items.

You can (and should) initialise the atlas using this command:

php please asset-atlas:scan

As records will be updated, you can use this command regularly to keep AssetAtlas up to date. Note that this command currently doesn't remove unused references. However, you can clear the atlas before scanning by using the reset parameter:

php please asset-atlas:scan --reset

# Use (the) force if you don't want to bother with confirmation dialogues:
php please asset-atlas:scan --reset --force

More about us

At visuellverstehen we create innovative digital and design solutions with a special focus on the common good. With technical expertise, high creativity and strategic skills, we develop products with a personal character.

License

The MIT license (MIT). Please take a look at the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固