PHPackages                             sebacruz/baseapp - 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. sebacruz/baseapp

ActiveProject

sebacruz/baseapp
================

2.1.0(8y ago)1161MITPHPPHP &gt;=5.5.0

Since Sep 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sebacruz/baseapp)[ Packagist](https://packagist.org/packages/sebacruz/baseapp)[ RSS](/packages/sebacruz-baseapp/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (6)Versions (10)Used By (0)

Base App
========

[](#base-app)

Requirements
------------

[](#requirements)

- [Composer](https://getcomposer.org/)
- [node](https://nodejs.org/)

Setup
-----

[](#setup)

```
$ composer create-project sebacruz/baseapp app
$ npm install
```

Copy .env.dist file to .env and set your needed environment variables, like database credentials:

```
$ cp .env.dist .env
$ vi .env
```

If you don't set the `APP_ENV` variable it will be "production" by default.

Local Development Server
------------------------

[](#local-development-server)

If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application you may use the composer `start` command. This command will start a development server at `http://0.0.0.0:8080`:

```
$ composer run-script start
```

App routing
-----------

[](#app-routing)

All routes are defined in `src/routes.php`.

App structure
-------------

[](#app-structure)

The app is divided in a few directories:

- `public`: public directory where you have to point your the domain. This is where you put public stuff, like the `robots.txt`, google verification files, etc.
- `src`: php stuff goes here. The PHP autoloader will look here for the `App` namespace, for example: if you call the `\App\Example\Class` the autoloader will try to load the file `src/Example/Class.php`.
- `resources`: contains assets sources and views. **DO NOT PUT DEPENDENCIES (LIKE `jQuery` OR `bootstrap`) HERE, USE NPM FOR THAT.**
- `vendor`: php dependencies managed by `composer`.
- `node_modules`: node dependencies managed by `npm`.

RTFM
----

[](#rtfm)

This app depends on various projects, if you are having some troubles read the project's docs and if you can't solve it [leave an issue](https://github.com/sebacruz/baseapp/issues).

- [Composer](https://getcomposer.org/): used to handle the php dependencies.
- [webpack](https://webpack.js.org/): used to compile frontend assets.
- [Babel](https://babeljs.io/): ECMAScript 6 to ECMAScript 5 compiler.
- [Slim Framework](http://www.slimframework.com/): the core of this app.
- [Monolog](https://github.com/Seldaek/monolog): used for log stuff.
- [Symfony's VarDumper](http://symfony.com/doc/current/components/var_dumper/introduction.html): provides a better dump() function that you can use instead of var\_dump.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~61 days

Total

8

Last Release

3046d ago

Major Versions

v1.0.1 → 2.0.02017-05-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/5399744af8a46d87cbc37725688bb86a5eef095c43c3c7c1b70f2dd9ca24153d?d=identicon)[sebacruz](/maintainers/sebacruz)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sebacruz-baseapp/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)[egroupware/openid

EGroupware OpenID Connect / OAuth2 server

1226.8k2](/packages/egroupware-openid)[lion/bundle

Lion-framework configuration and initialization package

122.2k1](/packages/lion-bundle)

PHPackages © 2026

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