Minimalist PHP framework
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Benjamin Renard 8d0907b1ba
CLI serve command: add parameters to start Xdebug profiler
1 week ago
docs Add CLI command to initialize a new project 1 month ago
example I18n: Move ___() function in functions.php 1 week ago
locales CLI serve command: add parameters to start Xdebug profiler 1 week ago
skel Add Db auth user backend parameters in config file provided by skel 3 weeks ago
src CLI serve command: add parameters to start Xdebug profiler 1 week ago
static Add simple time tracking system to permit to display page computing time 1 week ago
templates Add simple time tracking system to permit to display page computing time 1 week ago
.gitignore Tpl: Add stuff to handle static files 2 months ago
.phplint.yml Add overtrue/phplint dev dependency and configure it 11 months ago
.pre-commit-config.yaml Some improvments from recent works on apps based on its "framework" 2 months ago
README.md Update README file 1 month ago
composer.json Rename the project author to allow to publish it on packagist.org 1 month ago
eesyphp Cli: add core_mode() method, set it in handle_args() and add an hook 1 month ago
phpstan.neon Add authentication support 1 month ago

README.md

EesyPHP

EesyPHP is an easy and minimalist PHP framework for web application. It's currently provided with a minimalist demo application that permit to manage items stored in a database.

Features

This project aim to provide all main necessary elements to build a web application without starting with nothing. It based on great open source libraries for that and manage their integration together and their initialization to leave you to use them without handling this boring part.

Main features are :

  • a configuration manager actually based on the yaml file format
  • an URL routing system with a syntax based on regex
  • a templating solution based on Smarty
  • an easily expandable authentication system with native HTML form, HTTP and CAS SSO support (based on phpCAS), database and LDAP users backends and a ligth user object abstraction solution with expandable attributes
  • a logging system with PHP errors & exceptions handling
  • a light database integration based on FluentPDO
  • a Sentry integration
  • a PHP session manager (with expiration and max life handling)
  • a mailer solution to forge and send emails
  • an hook system to easily trigger and register hooks on events
  • a static files serving system with an overloadable multiple directories support
  • an internationalization system based on Gettext with Smarty templates (based on Smarty Gettext) and Javascript (based on Babel JS) integrations
  • a command line manager to easily implement CLI tools
  • collection of helpers to check, clean, cast, format (etc) values

All this features can be or not enabled and their initialization are manage by an application abstraction class.

Installation / configuration

Please see dedicated files in docs directory.

Copyright (c) 2020 Benjamin Renard brenard@zionetrix.net

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.