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(2y ago)01.1k↑736.1%[1 issues](https://github.com/sgroupdesign/craft-site-scripts/issues)MITPHP

Since Aug 15Pushed 3mo 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 1mo ago

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 85% of packages

Maintenance61

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

753d 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

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

395798.1k10](/packages/spicyweb-craft-neo)[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)

PHPackages © 2026

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