PHPackages                             cejobelo/hamtaro-starter - 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. cejobelo/hamtaro-starter

ActiveProject[Framework](/categories/framework)

cejobelo/hamtaro-starter
========================

Start your Hamtaro application with hamtaro-starter.

v1.2.1(3y ago)120MITPHP

Since May 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/cejobelo/hamtaro-starter)[ Packagist](https://packagist.org/packages/cejobelo/hamtaro-starter)[ RSS](/packages/cejobelo-hamtaro-starter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (9)Used By (0)

Hamtaro framework
=================

[](#hamtaro-framework)

- [About](#about)
- [Technologies](#technologies)
- [Controllers](#controllers)
- [Components](#components)
- [Commands](#commands)
- [Front-end development](#front-end-development)
- [Getting Started](#getting-started)

About
-----

[](#about)

Hamtaro is the new web framework for front-end / back-end development using Php and Javascript.
Create your modern and stable web application in a strict, simplified and organized environment.

Do yourself a favor : use Hamtaro 🐹

Technologies
------------

[](#technologies)

[Php](https://www.php.net) | [Javascript](https://developer.mozilla.org/en/docs/Web/JavaScript)| [Composer](https://getcomposer.org) | [Npm](https://www.npmjs.com) | [Node.js](https://nodejs.org)| [Webpack](https://webpack.js.org) | [Babel](https://babeljs.io) | [Sass](https://sass-lang.com)| [Twig](https://twig.symfony.com) | [Bootstrap](https://getbootstrap.com) | [jQuery](https://jquery.com)| [Json](https://www.json.org/json-en.html)

Controllers
-----------

[](#controllers)

***Ctrl*** means controller identifier inside your Hamtaro application, it helps to identify the namespace and the filepath of your controller.

- [`AbstractAjaxRequest`](https://github.com/cejobelo/hamtaro/blob/5f72f7604fd32670f314e5184bdf9ecc2c8ed6a6/src/Controller/Ajax/AbstractAjaxRequest.php) is extended by your ajax requests.
- [`AbstractForm`](https://github.com/cejobelo/hamtaro/blob/5f72f7604fd32670f314e5184bdf9ecc2c8ed6a6/src/Controller/Form/AbstractForm.php) is extended by your forms.
- [`AbstractModal`](https://github.com/cejobelo/hamtaro/blob/5f72f7604fd32670f314e5184bdf9ecc2c8ed6a6/src/Controller/Modal/AbstractModal.php) is extended by your modals.
- [`AbstractPage`](https://github.com/cejobelo/hamtaro/blob/5f72f7604fd32670f314e5184bdf9ecc2c8ed6a6/src/Controller/Page/AbstractPage.php) is extended by your pages.

> All controllers allowed to be loaded must be defined in src/main.php with the `controllers` property.

Components
----------

[](#components)

***Component*** means graphic item inside your Hamtaro application.

> `AbstractForm`, `AbstractModal` and `AbstractPage` extending [AbstractComponent](https://github.com/cejobelo/hamtaro/blob/5f72f7604fd32670f314e5184bdf9ecc2c8ed6a6/src/Controller/Component/AbstractComponent.php), create your own component type doing the same.

A component is composed of 4 files and identified with its ***Ctrl***.

- ***Ctrl.js -*** Front-end configuration extending [AbstractForm](https://github.com/cejobelo/hamtaro.js/blob/b30518b6b42796a8d53465fd5bb4e4f28bca1acb/src/Abstract/AbstractForm.js), [AbstractModal](https://github.com/cejobelo/hamtaro.js/blob/b30518b6b42796a8d53465fd5bb4e4f28bca1acb/src/Abstract/AbstractModal.js), [AbstractPage](https://github.com/cejobelo/hamtaro.js/blob/b30518b6b42796a8d53465fd5bb4e4f28bca1acb/src/Abstract/AbstractPage.js) or [AbstractComponent](https://github.com/cejobelo/hamtaro.js/blob/b30518b6b42796a8d53465fd5bb4e4f28bca1acb/src/Abstract/AbstractComponent.js).
- ***Ctrl.php -*** Back-end configuration extending [AbstractForm](https://github.com/cejobelo/hamtaro/blob/fabe1b632ada57adf5440f18f437db7806fd6b70/src/Controller/Form/AbstractForm.php), [AbstractModal](https://github.com/cejobelo/hamtaro/blob/fabe1b632ada57adf5440f18f437db7806fd6b70/src/Controller/Modal/AbstractModal.php), [AbstractPage](https://github.com/cejobelo/hamtaro/blob/fabe1b632ada57adf5440f18f437db7806fd6b70/src/Controller/Page/AbstractPage.php) or [AbstractComponent](https://github.com/cejobelo/hamtaro/blob/fabe1b632ada57adf5440f18f437db7806fd6b70/src/Controller/Component/AbstractComponent.php).
- ***Ctrl.sass -*** Component's stylesheet
- ***Ctrl.twig -*** Component's view. [Pug support](https://phug-lang.com) is coming.

Hamtaro identifies your components in the DOM with these types of selectors :

- `.hamtaro-component[data-ctrl="Header"]`
- `.hamtaro-form[data-ctrl="Identification/Reset"]`
- `.hamtaro-modal[data-ctrl="Newsletter"]`
- `.hamtaro-page[data-ctrl="About"]`

Commands
--------

[](#commands)

Using [composer scripts](https://getcomposer.org/doc/articles/scripts.md), improve your workflow and save considerable time during development.

```
{
    "scripts": {
        "ajax": "Hamtaro\\Command\\CreateAjaxRequest::run",
        "component": "Hamtaro\\Command\\CreateComponent::run",
        "form": "Hamtaro\\Command\\CreateForm::run",
        "modal": "Hamtaro\\Command\\CreateModal::run",
        "page": "Hamtaro\\Command\\CreatePage::run",
        "event": "Hamtaro\\Command\\CreateEvent::run"
    }
}
```

For example, `composer run form Login` create your form component to *src/Controller/Form/Login*.

Front-end development
---------------------

[](#front-end-development)

Use [hamtaro.js](https://www.npmjs.com/package/hamtaro.js) for your front-end development.

The default webpack configuration supporting the following assets : `.js`|`.sass`|`.scss`|`.css`

- `npm run assets` Build your assets ***public/main.min.js*** and ***public/main.min.css***.
- `npm run assets:dev` Your assets are monitored and built dynamically, just write bars and reload your browser to see the changes.

Getting started
---------------

[](#getting-started)

Your work environment is already ready.

```
composer create-project cejobelo/hamtaro-starter my_project && cd my_project && composer install && npm install
```

Enjoy 🐹

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

8

Last Release

1457d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb567567226c959f22625d14da011fc0541cb3409cf0983d6eff8a61188d6644?d=identicon)[Cejo Belo](/maintainers/Cejo%20Belo)

---

Top Contributors

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

---

Tags

hamtarohamtaro-starter

### Embed Badge

![Health badge](/badges/cejobelo-hamtaro-starter/health.svg)

```
[![Health](https://phpackages.com/badges/cejobelo-hamtaro-starter/health.svg)](https://phpackages.com/packages/cejobelo-hamtaro-starter)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k4](/packages/elgg-elgg)[thelia/thelia

Thelia is an ecommerce CMS.

8715.1k](/packages/thelia-thelia)[oleksandr-torosh/yona-cms

Yona CMS - open source content management system (CMS). Written in Phalcon PHP Framework (v 1.3.x). Has a convenient modular structure. Has simple configuration and architecture. Can be easily modified for any task with any loads.

3652.1k](/packages/oleksandr-torosh-yona-cms)[bauncms/framework

The Baun Framework

142.6k1](/packages/bauncms-framework)

PHPackages © 2026

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