yosko / watamelo-skeleton
A skeleton to start a new project based on Watamelo framework
Package info
framagit.org/yosko/watamelo-skeleton.git
Type:project
pkg:composer/yosko/watamelo-skeleton
1.1
2026-04-30 05:38 UTC
Requires
- yosko/watamelo: dev-master
README
A skeleton used to start a new project based on the Watamelo framework.
How to use
Simplest way: create a new project based on this package:
composer create-project yosko/watamelo-skeleton skel-test --remove-vcs
By default, your project will use the App namespace.
Custom Namespace
You can replace the default namespace by setting the APP_NAMESPACE environment variable:
APP_NAMESPACE=MyProject composer create-project yosko/watamelo-skeleton my-project --remove-vcs
Route callback
When declaring a route, it can be either a pair of a class/instance and the name of one of its nonstatic methods. Either:
- instance of a class (
object): the method will be called on this object. - name of a class (
string: useMyClass::class): an object will be created and then the method will be called.