PHPackages                             nebiros/yasc - 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. nebiros/yasc

ActiveLibrary[Framework](/categories/framework)

nebiros/yasc
============

Yet Another Sinatra Clone

v0.1.21(11y ago)14201BSD-3-ClausePHPPHP &gt;=5.2.4

Since Dec 30Pushed 10y ago4 watchersCompare

[ Source](https://github.com/nebiros/yasc)[ Packagist](https://packagist.org/packages/nebiros/yasc)[ Docs](https://github.com/nebiros/yasc)[ RSS](/packages/nebiros-yasc/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

YASC
====

[](#yasc)

*Yet Another Sinatra Clone*

`yasc` is a [sinatra](http://www.sinatrarb.com/) *(kind of)* clone written in [php](http://en.wikipedia.org/wiki/PHP)and highly influenced by [zend framework 1.x](http://framework.zend.com/), the routing system is based on [limonade's](http://www.limonade-php.net/) code, is a tiny framework that uses *user defined* functions as actions (like in the MVC pattern) and *annotations* to route the requested url to a function.

Features
--------

[](#features)

- Functions based.
- RESTful.
- Tiny ^\_^.
- Routing system based on regex patterns, named params, pairs param (like [zend framework 1.x](http://framework.zend.com/)).
- View helpers.
- Function helpers.
- Layouts support.
- Class autoloading based on the [Framework Interop Group](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md).
- Models support.

Default project structure
-------------------------

[](#default-project-structure)

`yasc` uses this project structure:

```
app.php
views/
    helpers/
models/

```

If you create these folders in your project they are auto-loaded in your application. Default *namespaces*:

```
helpers/Helper_*
models/Model_*

```

Accessors
---------

[](#accessors)

I saw that invoking the requested function with a lot of arguments is too ugly and a little bit verbose (just a little?), so I add some *accessors* to be used in each function.

```
