PHPackages                             maddlen/sakura - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. maddlen/sakura

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

maddlen/sakura
==============

Heroku toolbox for Laravel

1.1.2(1y ago)044MITPHPPHP ^7.4|^8.0

Since Mar 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/maddlen/sakura)[ Packagist](https://packagist.org/packages/maddlen/sakura)[ Docs](https://github.com/maddlen/sakura)[ RSS](/packages/maddlen-sakura/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

Sakura
======

[](#sakura)

> Heroku toolbox for Laravel.

Features
--------

[](#features)

- Initialize everything to host a Laravel project on Heroku
- Provides helpful artisan commands

Setup
-----

[](#setup)

### Go to your project root dir

[](#go-to-your-project-root-dir)

`cd /path/to/root/dir`

### Install the Heroku CLI

[](#install-the-heroku-cli)

If the Heroku CLI is not installed on your system, please install it. See

### Login to Heroku

[](#login-to-heroku)

`heroku login`

### Create an Heroku Authorization

[](#create-an-heroku-authorization)

`heroku authorizations:create`

The response should look like that:

```
Creating OAuth Authorization... done
Client:
ID:          a6e98151-f242-4592-b107-25fbac5ab410
Description: getting started token
Scope:       global
Token:       cf0e05d9-4eca-4948-a012-b91fe9704bab
Updated at:  Fri Jun 01 2018 13:26:56 GMT-0700 (PDT) (less than a minute ago)

```

### Update your .env file

[](#update-your-env-file)

Use the Token value from the Heroku Authorization response and add it to your `.env` file in the `HEROKU_API_KEY` variable. Ex:

```
// .env
HEROKU_API_KEY=cf0e05d9-4eca-4948-a012-b91fe9704bab

```

### Install Sakura

[](#install-sakura)

Require the package:

`composer require maddlen/sakura:dev-master`

Run the `sakura:init` Artisan command:

`php artisan sakura:init`

Artisan commands
----------------

[](#artisan-commands)

### init • `sakura:init`

[](#init--sakurainit)

Sets up the Heroku environment.

### push-config-vars • `sakura:push-config-vars`

[](#push-config-vars--sakurapush-config-vars)

Push `.env.heroku` as Heroku's Config Vars.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

4

Last Release

681d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55149e5ad96c7b36aa3de09201584a233679d05479a17020f1ae95f421374122?d=identicon)[herveguetin](/maintainers/herveguetin)

---

Top Contributors

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

---

Tags

sakuramaddlen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maddlen-sakura/health.svg)

```
[![Health](https://phpackages.com/badges/maddlen-sakura/health.svg)](https://phpackages.com/packages/maddlen-sakura)
```

###  Alternatives

[timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

6481.7M11](/packages/timokoerber-laravel-one-time-operations)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[sammyjo20/lasso

Lasso - Asset wrangling for Laravel made simple.

355347.9k](/packages/sammyjo20-lasso)[stechstudio/laravel-env-security

Securely manage .env files for different deployment environments

77116.4k1](/packages/stechstudio-laravel-env-security)[aaronfrancis/airdrop

A Laravel package to deploy your application faster by skipping asset compilation when possible.

19594.9k](/packages/aaronfrancis-airdrop)[richdynamix/arc

Production ready docker based development environment for your Laravel project.

1163.1k](/packages/richdynamix-arc)

PHPackages © 2026

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