PHPackages                             skybluesofa/c2c-temperature-blanket - 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. skybluesofa/c2c-temperature-blanket

ActiveProject

skybluesofa/c2c-temperature-blanket
===================================

An app to allow designing a C2C Temperature Blanket

0.4.0(2y ago)13MITPHPPHP ^8.2

Since Feb 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/skybluesofa/c2c-temperature-blanket)[ Packagist](https://packagist.org/packages/skybluesofa/c2c-temperature-blanket)[ RSS](/packages/skybluesofa-c2c-temperature-blanket/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (12)Used By (0)

C2C Temperature Blanket
=======================

[](#c2c-temperature-blanket)

Up and Running
--------------

[](#up-and-running)

### The Less-technical Method

[](#the-less-technical-method)

1. Get the code onto your computer
    1. Click the green `Code` button at the [top of the page](https://github.com/skybluesofa/c2c-temperature-blanket)
    2. Click the `Download ZIP` link
    3. Unzip the file on your computer
2. Running the code
    1. Open the `terminal` application on your computer
    2. Run `php artisan serve`
    3. Point your browser to

### The More-technical Method

[](#the-more-technical-method)

1. Get the code onto your computer
    1. Open the `terminal` application on your computer
    2. `composer create-project skybluesofa/c2c-temperature-blanket example-app` where "example-app" is the name of the folder you'll be creating. A suggestion would be 'c2c-temperature-blanket'.
2. Using Docker (Optional)
    1. `docker-compose build`
    2. `docker-compose up -d`
3. Using Built-in PHP Server (alternate)
    1. Run `php artisan serve`
    2. Point your browser to

Setup
-----

[](#setup)

### The .env File

[](#the-env-file)

In the installation folder, there is a file named `.env.example`. It should be copied and renamed `.env`.

In the `.env` file, you'll find the configuration options for the application. The options specific to Temperature Blanket are:

- `C2C_BLANKET_LATITUDE=38.6270` This is the latitude of your location, used to pinpoint your weather.
- `C2C_BLANKET_LONGITUDE=-90.1994` This is the longitude of your location, used to pinpoint your weather.
- `C2C_BLANKET_COLUMNS=16` This is the number of squares your blanket will have per row.
- `C2C_BLANKET_DESIGN=default` This is the design scheme designation for your blanket squares.
- `C2C_BLANKET_COLORS=default` This is the color scheme designation for the tiles of the design squares.

### The Configuration File

[](#the-configuration-file)

In the `config` folder, there is a file named `c2c.php`. This file contains configuration options such as:

#### Square Design. There are some built-in designs available:

[](#square-design-there-are-some-built-in-designs-available)

- **Default.** A 3x3 square with all tiles being the day's average temperature
- **Temps.** A 3x3 square showing high temperatures in the top-left corner, low temps in the bottom-right corner, and average temps as a diagonal running bottom-left to top-right.
- **All Day.** Similar to the `Temps` design, but using a 4x4 square. The top-left corner also contains a tile for the daily precipitation; the bottom-right corner also contains a tile for the daylight hours.
- **Smiley.** This 9x9 square is more an example of what *can* be done, rather than something that would probably get used (but you could use it if you wanted). It shows a smiley face with high temps in the upper corners, low temps in the bottom corners, and average temps within the smiley face.

#### Ranges and Colors for Temperature, Daylight, and Precipitation

[](#ranges-and-colors-for-temperature-daylight-and-precipitation)

Let's take temperature for example:

```
'temperature' => [
    '-100' => ['blue', 'Blue'],
    '32' => ['green', 'Green'],
    '50' => ['yellow', 'Yellow'],
    '80' => ['red', 'Red'],
],

```

##### Ranges

[](#ranges)

Each range has a 'lowest temperature' key. So anything less than 32º is blue, 32-49º is green, 50-79º is yellow and anything 80º and up is red.

- Temperature ranges are listed as degrees
- Daylight ranges are listed as hours
- Precipitation ranges are listed as inches

##### Colors

[](#colors)

Each range also designates the color shown on the screen as well as a color 'name'.

- The first element (shown lowercase), is the color shown on the screen. This could be a written-out color, such as 'blue'. But it could also be a hex representation, `#0000ff`.
- The second element (shown uppercase), is the name of the color shown. For instance, the yarn using this blue might be called 'Royal Blue'.
    - If the second element is not provided, we'll try to get a color name from an online database of colors.

Using Temperature-Blanket.com URLs
----------------------------------

[](#using-temperature-blanketcom-urls)

In the `config/temperature-blanket-dot-com` folder, there is a file named `default.txt`. This file begins without any contents.

However, if you paste a saved URL from , the saved colors and design will override those noted in the base configuration file.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~0 days

Total

10

Last Release

826d ago

PHP version history (2 changes)0.1PHP ^8.1

0.4.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/60324d72e7a3c7dea85699215cb194d3962647df1e860ae0ec1c6d53858e9a9b?d=identicon)[skybluesofa](/maintainers/skybluesofa)

---

Top Contributors

[![skybluesofa](https://avatars.githubusercontent.com/u/1657128?v=4)](https://github.com/skybluesofa "skybluesofa (31 commits)")

---

Tags

corner-to-cornercrochetlaravel10laravelc2ccrochet

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/skybluesofa-c2c-temperature-blanket/health.svg)

```
[![Health](https://phpackages.com/badges/skybluesofa-c2c-temperature-blanket/health.svg)](https://phpackages.com/packages/skybluesofa-c2c-temperature-blanket)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)

PHPackages © 2026

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