Skip to content

feat(ui): rebuild package detail page with tabs, README and stats#133

Open
maartenbode wants to merge 1 commit into
mainfrom
feat/package-readme-tabs-stats
Open

feat(ui): rebuild package detail page with tabs, README and stats#133
maartenbode wants to merge 1 commit into
mainfrom
feat/package-readme-tabs-stats

Conversation

@maartenbode
Copy link
Copy Markdown
Member

Closes #131.

  • Tabs (Overview / Stats / Versions) replace the long-scroll layout; ?tab= is deep-linkable.
  • Overview shows a Package details card (description, type, license, PHP requirement, authors, keywords) plus the rendered README.
  • README is fetched per version during sync (new readme column on package_versions), rendered server-side with league/commonmark + GFM + sanitized HTML, and relative links/images are rewritten to absolute Git-provider URLs. Backfill via php artisan pricore:backfill-readmes.
  • Stats tab: total downloads, last-30-day total with trend vs. prior period, daily average, plus the existing 30-day chart.
  • Composer Configuration snippet moved off the package page to the Composer Tokens settings, alongside the auth setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more information about the package to package details page

1 participant