tbl0605 / phpyam
Really simple, yet easily extendable, MVC framework for PHP developers that helps you quickly write simple yet powerful web applications and APIs.
2.0.6
2024-11-04 09:48 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- apache/log4php: ^2.3.0
- dev-master
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.35
- 1.1.34
- 1.1.33
- 1.1.32
- 1.1.31
- 1.1.30
- 1.1.29
- 1.1.28
- 1.1.27
- 1.1.26
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- dev-v2.0-stable
- dev-v1.1-stable
- dev-v1.0-stable
This package is auto-updated.
Last update: 2024-12-04 10:17:53 UTC
README
Really simple, yet easily extendable, MVC framework for PHP developers.
Based on Mini, rewritten to add following features:
- URL forwarding support
- ajax requests support
- protection against multiple form submissions
- error logging using log4php
- define the client's charset encoding
- htaccess support
- session support
- output buffering support
- user authentication support
- internationalization of the PHPYAM error messages
- customization of PHPYAM's settings storage (since v2.0)
PHPYam doesn't do yet:
- form validation
Installation
It's recommended that you use Composer to install PHPYAM:
composer require tbl0605/phpyam:~2.0
Easy way to test the provided demo
Use php built-in web server
cd demo
php -S localhost:8000 index.php
And open localhost:8000.
Use Apache
Add the demo/
path to the httpd.conf
file or to some dedicated virtual host configuration file:
<Directory "/path/to/your/PHPYAM/demo">
AllowOverride All
Options FollowSymLinks
RewriteEngine On
</Directory>
Additional notes
For further testings, you can play with constants YAM_DEMO_USE_AUTOLOADER
and YAM_DEMO_APP_DIR
inside the demo/server-conf.php
file:
define('YAM_DEMO_USE_AUTOLOADER', true);
define('YAM_DEMO_APP_DIR', 'application-autoloader');
or
define('YAM_DEMO_USE_AUTOLOADER', false);
define('YAM_DEMO_APP_DIR', 'application-noautoloader');