palethorn / yeah
Hopefully easy to use PHP framework, originally written for personal use. Then it started to grow...
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/palethorn/yeah
Requires
- php: >=5.3.0
- yeah/yeah-devtools: 1.0.0
This package is not auto-updated.
Last update: 2020-11-28 07:37:57 UTC
README
GENERAL INFO
Easiest way to install is to use composer. Add composer.json into your project root:
{
"minimum-stability": "dev",
"require": {
"palethorn/yeah": "dev-master"
}
}
Then:
composer update
You can also set up Yeah! DevTools and use it. Download from https://bitbucket.org/palethorn/yeah-devtools/src
After setting up your alias:
alias yeah="php /path/to/yeah/file/in/devtools/root"
you can then create folder and invoke
yeah create_app project_name
Instruct your HTTP server to point to web folder as webroot.
Lighttpd rewrite rules:
url.rewrite-if-not-file = (
"^/(.*)" => "/project_name.php/$1"
)
Apache rewrite rules are similar. htaccess file example (NOT TESTED):
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ project_name.php [L]