Giter Site home page Giter Site logo

amnp76 / php-webapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from technicalguru/php-webapp

0.0 0.0 0.0 3.34 MB

A ready-to-use framework to write web applications in PHP

License: GNU Lesser General Public License v3.0

PHP 34.15% Perl 0.11% CSS 10.42% JavaScript 53.33% Shell 0.01% HTML 1.99%

php-webapp's Introduction

technicalguru/webapp

This is a PHP framework for the easy-to-start development of a website. It addresses a few basic needs that every developer faces when he wants to start a new website. This framework addresses:

  • Authentication and Authorization
  • Localization
  • Flexible design, theme and layout of websites and individual pages
  • Database Access (mostly MariaDB or MySQL)
  • Data Model abstract layer to avoid any SQL writing
  • Flexible URL routing (mapping the URL path to a specific Page class)
  • Logging
  • Email Sending
  • Application Configuration
  • Session Handling and Persistence

Most of them are not mandatory to use. The configuration allows to switch off many of them.

As I currently use this framework for my private projects only, there is not much documentation available yet. Feel free to ask questions or checkout also the php-webapp-template repository which provides starter templates.

The framework is mostly based on other PHP modules that are documented quite good. So you can consult them in order to understand some of the features.

Remember: technicalguru/webapp is a framework to ease and speed up your development of a new website. It cannot solve all your problems but is a good starting point.

License

This project is licensed under GNU LGPL 3.0.

Installation

By Composer

composer install technicalguru/webapp

By Package Download

You can download the source code packages from GitHub Release Page

Start a WebApp

The best way is to use a template from php-webapp-template repository but you can also start from scratch. You will need the configuration from application-example.php and the main index-example.php file in the root of your web app. Notice that your web server needs to route all requests to the index.php file. You could achieve this with this snippet:

    <IfModule mod_rewrite.c>
        Options -MultiViews

        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^ index.php [QSA,L]
    </IfModule>

in your .htaccess file

Contribution

Report a bug, request an enhancement or pull request at the GitHub Issue Tracker.

php-webapp's People

Contributors

technicalguru avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.