2017 © Pedro Peláez
 

library yoshi

A PHP micro-framework

image

holger/yoshi

A PHP micro-framework

  • Wednesday, September 13, 2017
  • by Holger
  • Repository
  • 1 Watchers
  • 6 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yoshi

A PHP micro-framework., (*1)

get('/hello/{name}', function ($name) {
  echo "Hello, $name!";
});

$app->run();
?>

Yoshi requires PHP 5.6., (*2)

Features

  • HTTP Routing (supported methods: GET, POST, UPDATE, DELETE, HEAD & OPTIONS)
  • Views & View Helpers (only UrlHelper included right now)
  • Custom Error Views
  • Application & Route Filters

Open Issues

  • Authentication Helper
  • Error Handling (e.g. Views render -> view not found)
  • Set HTTP Headers inside route callbacks
  • Enable filter to end route processing
  • Request object injection collides with default values for arguments

Similar PHP micro frameworks

Yoshi is nothing new. There are already some good PHP micro frameworks out there. I started Yoshi mainly for fun and to dig deeper into the development of a web framework., (*3)

Here's a list of similar PHP micro frameworks:, (*4)

Doku

  • Installation using composer
  • Using views
  • Global variables
  • Using callback methods for helpers (arrays vs. callback function objects)
  • Redirect using headers

License

Yoshi is released under the MIT License., (*5)

The Versions

13/09 2017

dev-master

9999999-dev https://github.com/holger/yoshi

A PHP micro-framework

  Sources   Download

MIT

The Requires

 

microframework