Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ppyMVC

# Conflicts:
#	config/routes.php
  • Loading branch information
illegal-instruction-co committed Mar 20, 2023
2 parents da756ab + 37131da commit 0187c10
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
@@ -1,5 +1,7 @@

# HappyMVC
# HappyMVC ![GitHub](https://img.shields.io/github/license/illegal-instruction-co/happyMVC?logo=happyMVC) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/illegal-instruction-co/happyMVC)

![screenshot](https://raw.githubusercontent.com/illegal-instruction-co/happyMVC/master/assets/screenshot.jpg)

Introducing the world's first and only functional Model-View-Controller (MVC) framework that works seamlessly with Composer. Our framework is not only the first of its kind, but also the simplest, most elegant solution for developers who want to create robust, maintainable web applications with ease.

Expand Down
Binary file added assets/screenshot.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions composer.json
@@ -1,7 +1,7 @@
{
"name": "insayd10/happymvc",
"name": "illegal-instruction-co/happymvc",
"require": {
"insayd10/happyMVC": "dev-master",
"illegal-instruction-co/happyMVC": "dev-master",
"psr/log": "dev-master",
"dwoo/dwoo": "1.3.*"
}
Expand Down
4 changes: 2 additions & 2 deletions config/routes.php
@@ -1,5 +1,5 @@
<?php
# An example about how can be happy :)
setRoute("example", "example@indexAction"); // First is homepage
setRoute("example/with-parameter/{param}", "example@withParameter");
setRoute("lambda", function() { echo"LAMBDA"; });
setRoute("example/try-your-message/{msg}", "example@tryYourMessage");
setRoute("lambda", function() { echo "Lambda"; });

0 comments on commit 0187c10

Please sign in to comment.