PHPackages                             sgroup/site-scripts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sgroup/site-scripts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sgroup/site-scripts
===================

A collection of scripts for Craft CMS development.

3.0.0(1y ago)01.1k↑736.1%[1 issues](https://github.com/sgroupdesign/craft-site-scripts/issues)MITPHP

Since Aug 15Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/sgroupdesign/craft-site-scripts)[ Packagist](https://packagist.org/packages/sgroup/site-scripts)[ Docs](https://github.com/sgroupdesign/craft-site-scripts)[ RSS](/packages/sgroup-site-scripts/feed)WikiDiscussions craft-4 Synced today

READMEChangelog (7)Dependencies (3)Versions (9)Used By (0)

Site Scripts
============

[](#site-scripts)

A collection of scripts for Craft CMS development.

Setup
-----

[](#setup)

We call `./craft site-scripts/setup` to start an opinionated install. Basically this just presets a few of the prompts to save us time.

- Generates a new user with a one-time, secure password.
- Updates the site name.
- Upadates for SEOmatic meta.

Pull
----

[](#pull)

These commands are for pulling down from Forge-based servers.

- Pull assets from a server to your machine
- Pull the database from a server to your machine, backing up any local copy

### Getting started

[](#getting-started)

Before you get started, make sure you populate the following in your `.env` file:

- `REMOTE_LOGIN`
- `REMOTE_CRAFT_PATH`
- `REMOTE_DB_USER`
- `REMOTE_DB_PASSWORD`
- `REMOTE_DB_TABLE`

`./craft site-scripts/pull/db` - will login to the server and create a backup of the database provided, then download it to your machine in a temporary directory. It will then create a local gzipped backup of your local database and store in `storage/local-backup` of your project. It'll then import and overwrite your local database with the database from the server.

`./craft site-scripts/pull/assets` - will login to the server and fetch the `storage/rebrand`, `storage/userphotos` and entire `public_html/uploads` folder, and download it, overwriting any local files. It's also intelligent enough to know if there are any new files to download, so running this command multiple times will only download files that've changed on the server.

`./craft site-scripts/pull` will do both.

###  Health Score

39

—

LowBetter than 87% of packages

Maintenance62

Regular maintenance activity

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~195 days

Recently: every ~241 days

Total

6

Last Release

707d ago

Major Versions

1.0.4 → 2.0.02022-08-15

2.0.0 → 3.0.02024-04-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/e8742c64718038ac942163e2eb07a23a34974460257b517038c355911b88e77a?d=identicon)[sgroup](/maintainers/sgroup)

---

Top Contributors

[![engram-design](https://avatars.githubusercontent.com/u/1221575?v=4)](https://github.com/engram-design "engram-design (6 commits)")

---

Tags

plugincmsCraftcraftcms

### Embed Badge

![Health badge](/badges/sgroup-site-scripts/health.svg)

```
[![Health](https://phpackages.com/badges/sgroup-site-scripts/health.svg)](https://phpackages.com/packages/sgroup-site-scripts)
```

###  Alternatives

[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.3k5](/packages/pennebaker-craft-architect)[doublesecretagency/craft-cpjs

Add custom JavaScript to your Control Panel.

43162.8k](/packages/doublesecretagency-craft-cpjs)[nystudio107/craft-webperf

Webperf helps you build &amp; maintain high quality websites through Real User Measurement of your website's performance

2540.8k](/packages/nystudio107-craft-webperf)[superbig/craft3-mobiledetect

Use Mobile\_Detect for detecting mobile devices (including tablets)

1953.3k](/packages/superbig-craft3-mobiledetect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
