Hamtaro - the new web framework for front-end / back-end development using Php and Javascript.

Related tags

Frameworks hamtaro
Overview

Hamtaro framework

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

Php | Javascript | Composer | Npm | Node.js | Webpack | Babel | Sass | Twig | Bootstrap | jQuery | Json

Controllers

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

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

Components

Component means graphic item inside your Hamtaro application.

AbstractForm, AbstractModal and AbstractPage extending AbstractComponent, create your own component type doing the same.

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

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

Using composer scripts, improve your workflow and save considerable time during development.

  • CreateAjaxRequest to create a new ajax request.
  • CreateComponent to create a new component.
  • CreateForm to create a new form.
  • CreateModal to create a new modal.
  • CreatePage to create a new page.
  • CreateEvent to create a new javascript event.

Front-end development

Use 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

Your work environment is already ready.

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

Enjoy 🐹

You might also like...
Pods is a development framework for creating, extending, managing, and deploying customized content types in WordPress.

Pods Framework Pods is a development framework for creating, extending, managing, and deploying customized content types in WordPress. Description Che

CakePHP: The Rapid Development Framework for PHP - Official Repository

CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Associative Data Mapping, Front Controller, and MVC. O

High-Performance Long-Living PHP Framework for modern enterprise application development
High-Performance Long-Living PHP Framework for modern enterprise application development

Documentation · Discord · Telegram · Twitter Spiral Framework is a High-Performance Long-Living Full-Stack framework and group of over sixty PSR-compa

PHPLucidFrame (a.k.a LucidFrame) is an application development framework for PHP developers

PHPLucidFrame (a.k.a LucidFrame) is an application development framework for PHP developers. It provides logical structure and several helper utilities for web application development. It uses a functional architecture to simplify complex application development. It is especially designed for PHP, MySQL and Apache. It is simple, fast, lightweight and easy to install.

☄️  PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Serve
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Serve

☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、WorkerMan、FPM、CLI-Server

Motan - a cross-language remote procedure call(RPC) framework for rapid development of high performance distributed services

Motan-PHP Overview Motan is a cross-language remote procedure call(RPC) framework for rapid development of high performance distributed services.

Framework X – the simple and fast micro framework for building reactive web applications that run anywhere.

Framework X Framework X – the simple and fast micro framework for building reactive web applications that run anywhere. Quickstart Documentation Tests

Javascript Minifier built in PHP

JShrink JShrink is a php class that minifies javascript so that it can be delivered to the client quicker. This code can be used by any product lookin

JShrink is a php class that minifies javascript so that it can be delivered to the client quicker

JShrink JShrink is a php class that minifies javascript so that it can be delivered to the client quicker. This code can be used by any product lookin

Releases(v1.1.2)
Owner
Phil'dy Jocelyn Belcou
Passionate developer
Phil'dy Jocelyn Belcou
:gem: Go! AOP PHP - modern aspect-oriented framework for the new level of software development

Go! Aspect-Oriented Framework for PHP Go! AOP is a modern aspect-oriented framework in plain PHP with rich features for the new level of software deve

Go! Aspect-Oriented Framework 1.6k Dec 29, 2022
Newsprint is a simple web application that will fetch the front page of a newspaper and display it on an eink display

Newsprint is a simple web application that will fetch the front page of a newspaper and display it on an eink display. The specific resolutions and sizes have been setup to work with a 32" eInk place & play display from Visionect but can be modified for other screen resolutions.

Greg Raiz 199 Dec 20, 2022
A magic PHP framework. Build reactive web apps without writing HTML, CSS, or JavaScript! Powered by Tailwind, Alpine, Laravel, & Livewire.

Malzahar A magic PHP framework. Build reactive web apps without writing HTML, CSS, or JavaScript! Powered by Tailwind, Alpine, Laravel, & Livewire. Re

null 26 Nov 17, 2022
Sunhill Framework is a simple, fast, and powerful PHP App Development Framework

Sunhill Framework is a simple, fast, and powerful PHP App Development Framework that enables you to develop more modern applications by using MVC (Model - View - Controller) pattern.

Mehmet Selcuk Batal 3 Dec 29, 2022
Elgg is an open source rapid development framework for socially aware web applications.

Elgg Elgg is an open source rapid development framework for socially aware web applications. Features Well-documented core API that allows developers

Elgg 1.6k Dec 27, 2022
An Hydrator class that can be used for filling object from array and extracting data from objects back to arrays.

Hydrator namespace: Meow\Hydrator Library that can hydrate (fill object with data from array) and extract data from object back to array. Installation

Meow 2 Feb 3, 2022
QPM, the process management framework in PHP, the efficient toolkit for CLI development. QPM provides basic daemon functions and supervision mechanisms to simplify multi-process app dev.

QPM QPM全名是 Quick(or Q's) Process Management Framework for PHP. PHP 是强大的web开发语言,以至于大家常常忘记PHP 可以用来开发健壮的命令行(CLI)程序以至于daemon程序。 而编写daemon程序免不了与各种进程管理打交道。Q

Comos 75 Dec 21, 2021
li₃ is the fast, flexible and most RAD development framework for PHP

li₃ You asked for a better framework. Here it is. li₃ is the fast, flexible and the most RAD development framework for PHP. A framework of firsts li₃

Union of RAD 1.2k Dec 23, 2022
FlyCubePHP is an MVC Web Framework developed in PHP and repeating the ideology and principles of building WEB applications, embedded in Ruby on Rails.

FlyCubePHP FlyCubePHP is an MVC Web Framework developed in PHP and repeating the ideology and principles of building WEB applications, embedded in Rub

Anton 1 Dec 21, 2021