Module
- D10: stable release
- D11: stable release
- D12: stable release
Attach Inline
Inline JavaScript should be re-rewritten to define libraries and use drupalSettings to pass data. When inline code blocks are absolutely necessary, this module extends Drupal's asset system to allow attaching inline scripts and styles to render array elements so that they are added to the document's
drupal.org
composer require drupal/attachinline58 out of 100
Watch
Only one person can publish fixes.
- Sites
- 216
- Latest release
- 7 weeks ago
- Contributors (12 months)
- 3
- Open bugs
- 3
Why 58?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 216 sites, −4% in 12 months
- 13
- Activity
- Last release 7 weeks ago; 3 releases this year
- 54
- Community
- 1 maintainer can publish fixes; 3 people contributed this year
- 53
- Health
- 3 open bugs, 0 serious; 0 finished fixes waiting
- 60
- Readiness
- Drupal 10, 11 and 12 · security team coverage · stable 8.x-1.10
- 100
- +2 Latest stable release supports Drupal 12
Usage
Reported Drupal 8+ sites per week, last two years.
Releases
- Latest release
- 8.x-1.10 (7 weeks ago)
- Latest stable
- 8.x-1.10
- Releases in the last 12 months
- 3
- Security releases (all time)
- 0
- First Drupal 8+ release
- 7 years ago
All metrics · harvested 2026-11-23
| active_branches_12m | 8.x-1.x |
|---|---|
| active_weeks_12m | 3 |
| any_release_d10 | true |
| any_release_d11 | true |
| any_release_d12 | true |
| bugs_critical_open | 0 |
| bugs_open | 3 |
| bugs_opened_12m | 2 |
| bus_factor_80 | 2 |
| categories | Developer tools |
| changed | 1788290384 |
| commit_authors_12m | 3 |
| commits_12m | 6 |
| commits_90d | 1 |
| commits_truncated | false |
| composer_version | 1.10.0 |
| contributors_12m | 3 |
| core_constraint | ^10 || ^11 || ^12 |
| created | 1574201282 |
| default_branch | 8.x-1.x |
| dependencies | |
| development_status | Under active development |
| first_release_date | 1574209087 |
| forks | 19 |
| gitlab_id | 61687 |
| harvested_at | 1795469227 |
| has_issue_queue | false |
| issue_source | gitlab |
| issues_flow_truncated | false |
| issues_needs_review | 2 |
| issues_open | 11 |
| issues_opened_12m | 4 |
| issues_opened_12m_closed_other | 0 |
| issues_opened_12m_fixed | 3 |
| issues_rtbc | 0 |
| issues_total | 41 |
| kind | module |
| last_activity_at | 2026-10-02T21:25:59.641Z |
| latest_release_date | 1790977519 |
| latest_stable_date | 1790977519 |
| latest_stable_version | 8.x-1.10 |
| latest_supports_d10 | true |
| latest_supports_d11 | true |
| latest_supports_d12 | true |
| latest_version | 8.x-1.10 |
| maintainer_names | gapple |
| maintainers | 1 |
| maintainers_release | 1 |
| maintainers_vcs | 1 |
| maintenance_status | Actively maintained |
| mrs_merged_12m | 3 |
| mrs_open | 4 |
| name | attachinline |
| nid | 3095506 |
| php_constraint | – |
| project_type | full |
| release_count | 17 |
| releases_12m | 3 |
| replaced_by | false |
| security_coverage | covered |
| security_releases | 0 |
| stars | 11 |
| summary | Inline JavaScript should be re-rewritten to define libraries and use drupalSettings to pass data. When inline code blocks are absolutely necessary, this module extends Drupal's asset system to allow attaching inline scripts and styles to render array elements so that they are added to the document's |
| title | Attach Inline |
| url | https://www.drupal.org/project/attachinline |
| usage_d8plus | 211 |
| usage_d8plus_4w_avg | 216 |
| usage_d8plus_4w_avg_12m_ago | 224 |
| usage_d8plus_4w_avg_6m_ago | 165 |
| usage_d8plus_peak | 280 |
| usage_d8plus_peak_week | 2025-11-09 |
| usage_growth_12m_pct | -3.6 |
| usage_growth_6m_pct | 30.9 |
| usage_on_latest_release | 128 |
| usage_on_latest_release_pct | 60.7 |
| usage_pct_of_peak | 77.1 |
| usage_total | 211 |
| usage_weeks_reported | 350 |