PHPackages                             dev-lss/app-harp - 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. [Framework](/categories/framework)
4. /
5. dev-lss/app-harp

ActiveProject[Framework](/categories/framework)

dev-lss/app-harp
================

Project base Harp Framework PHP

v2.0.5(3y ago)023MITPHPPHP &gt;=8.1

Since Sep 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/dev-lss-harp/app-harp)[ Packagist](https://packagist.org/packages/dev-lss/app-harp)[ RSS](/packages/dev-lss-app-harp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

[![Alt text](harp.png?raw=true "Harp Framework")](harp.png?raw=true)

About Harp
==========

[](#about-harp)

\[en\_US\] Harp is a framework that has as its main feature to be multi-applications, that is, instead of always creating a project for an application, Harp allows you to create multiple applications and run them in a single instance of the project in a very simple way.

Let's say you have created two apps:

1 - MyWebApp 2 - MyApi

to access your applications just type in any browser:  or  and that's it!

Need a multi-application and heavily modularized framework? Harp may be your solution.

\[pt\_BR\] O Harp é um framework que possui como sua principal caractéristica ser multiaplicativos, ou seja, ao invés de sempre criar um projeto para um aplicativo, o Harp te possibilita criar múltiplos aplicativos e rodar eles em uma única instância do projeto de maneira muito simples.

Vamos supor que você tenha criado dois app's:

1 - MyWebApp 2 - MyApi

para acessar seus aplicativos basta digitar em um navegador qualquer:  ou  e pronto!

Precisa de um framework multiaplicativos e fortemente modularizado? Harp pode ser sua solução.

Routes
======

[](#routes)

\[en\_US\] Conventions:

When manually creating your routes in the routes json file keep in mind a few things:

The App name must be in PascalCase ex: AppBase, HelloWorld and etc.

The default route name must be written in lower ex: appbase, helloworld. The default route is a route with the same name as the app where typing  will run the appbase route.

Routes have several settings that can be seen in the following documentation: {{url\_documentation}}

\[pt\_BR\] Convenções:

Ao criar manualmente suas rotas no arquivo routes json tenha em mente algumas coisas:

O nome do App deve ser em PascalCase ex: AppBase, HelloWorld e etc.

O nome da rota padrão deve ser escrita em lower ex: appbase, helloworld. A rota padrão é uma rota com o mesmo nome do app onde ao digitar  a rota appbase será executada.

As rotas possuem diversas configurações que poder ser vistas na seguinte documentação: {{url\_documentação}}

Encryption Keys
===============

[](#encryption-keys)

\[en\_US\] The keys by default are stored in storage/keys, when creating an application using the {playh} utility the key is generated automatically, if you want to generate the keys or change the keys you can run the following playh commands:

php playh build:key --app{appName} --force={true|false}

Manually via cmd or terminal:

navigate to: app/{appName}/storage/keys and run the following command:

php -r 'file\_put\_contents("encryption.key",base64\_encode(random\_bytes(32)));'

then run: chmod 0644 encryption.key

\[pt\_BR\] As chaves por padrão são guaradados em storage/keys, ao criar uma aplicação usando o utilitário {playh} a chave é gerada automaticamente, caso queira gerar as chaves ou alterar as chaves você pode executar os seguintes comandos playh:

php playh build:key --app{appName} --force={true|false}

Manualmente pelo cmd ou terminal:

navegue até: app/{appName}/storage/keys e execute o seguinte comando:

php -r 'file\_put\_contents("encryption.key",base64\_encode(random\_bytes(32)));'

depois execute: chmod 0644 encryption.key

Certs
=====

[](#certs)

\[en\_US\] The keys by default are stored in storage/certs, when creating an application using the {playh} utility the certificate is generated automatically, if you want to generate the certificate or change it you can run the following playh commands:

php playh build:cert --app{appName} --force={true|false}

Generating a certificate for your application

navigate to: app/{appName}/storage/certs and run the following command:

openssl genrsa -out private.key 2048

or if you prefer a certificate with a password:

openssl genrsa -aes128 -passout file:../keys/encryption.key -out private.key 2048

then run: chmod 0644 private.key

\[pt\_BR\] As chaves por padrão são guaradados em storage/certs, ao criar uma aplicação usando o utilitário {playh} o certificado é gerado automaticamente, caso queira gerar o certificado ou alterá-lo você pode executar os seguintes comandos playh:

php playh build:cert --app{appName} --force={true|false}

Gerando um certificado para sua aplicação

navegue até: app/{appName}/storage/certs e execute o seguinte comando:

openssl genrsa -out private.key 2048

ou se preferir um certificado com senha:

openssl genrsa -aes128 -passout file:../keys/encryption.key -out private.key 2048

depois execute: chmod 0644 private.key

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~5 days

Total

8

Last Release

1312d ago

Major Versions

v1.0.1 → v2.0.02022-09-10

PHP version history (2 changes)v1.0.0PHP &gt;=7.1

v2.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9f6e8fbaa2a9b40132de2aa1ce3c69b1a7b1dc4ebd95e2b1f57bb158eda7612?d=identicon)[leonardo.silva](/maintainers/leonardo.silva)

---

Top Contributors

[![maximusweb](https://avatars.githubusercontent.com/u/17569094?v=4)](https://github.com/maximusweb "maximusweb (8 commits)")[![dev-lss-harp](https://avatars.githubusercontent.com/u/112809516?v=4)](https://github.com/dev-lss-harp "dev-lss-harp (2 commits)")

### Embed Badge

![Health badge](/badges/dev-lss-app-harp/health.svg)

```
[![Health](https://phpackages.com/badges/dev-lss-app-harp/health.svg)](https://phpackages.com/packages/dev-lss-app-harp)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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