Skip to content
ArchFW is a short form of ArchFramework. We - archi_tektur team - developed this software as a solution for common PHP applications problems, such as securing session, cute error throwing and routing. Software is still growing, so we are expanding it's capabilities: API serving, using APIs and many many more!
PHP CSS HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
config
public_html
resources
src/ArchFW
.gitattributes
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
PULL_REQUEST_TEMPLATE.md
README.md
composer.json
composer.lock
gulpfile.js
package.json

README.md

ArchFW

Latest Stable Version Total Downloads License Monthly Downloads composer.lock

Tired of using heavy frameworks like Symfony, Laravel and others for your small project? Try out our new boilerplating framework! It does a lot of magic things to make your development only a pleasure. Let me take you on a ride...

Table of contents

General info

ArchFW is micro-framework and boilerplate at once. It connects best parts of both: half-closed code, enforced architecture and unbelievable perfomance.

Technologies

Project in order to run requires at least PHP version 7.2.6 with PDO library. Using framework requires moderate experience into PHP language. By programmers, for programmers. As simple as it's possible. You will install this project with Composer easily. If you want to use SCSS and it's 7-1 Pattern you will also need Node Packet Manager (NPM).

Setup

Run required commands in your system shell:

$ composer install
$ npm install

It may happen that some packages from this project will be outdated, then run:

$ npm audit fix

Remember that server root must be set on /public_html folder. A version that does not requite changing server root will be released someday, but for safety this method is simply the best. Keep in mind that keeping your private data and code outside server root is considered to be a best practice.

If all has been successfully set, you will see proper screen entering http://localhost/ or any domain/IP adress.

Code Examples

In near future here will be huge section about configuring and using this framework.

Features

Framework is going to be perfect, now it does:

  • Routing management
  • HTML and JSON renderers
  • Own logger with logging to file
  • Extensible exceptions with error logging
  • Modern OOP view engine
  • Fast OOP MC classes
  • Easiest extentible config ever (PHP array file)
  • Medoo database - lightest SQL query builder included

Still in development and further plans:

  • Autoloading config files
  • Installation wizard
  • ... here might be your request, don't be aware to PR or Issue this!

Have any ideas what this FW should contain? PM me over kontakt@archi-tektur.pl

Status

Framework has stable release 2.8.0 in master branch, in dev branch you can find also the newest version - but watch out, it probably WILL NOT be stable.

New functionalities, bux fixes and code reusages are developed quite often, at least once a two months something is changing. Backward compatibility can't be provided on this stage of development, but it will be guaranteed soon.

Inspiration

Well, hard to say - a willing for making something on my own, a hate that exists on many forums on the whole language (PHP never been the liked one). Every time I look how much unneeded code is used in Symfony (mostly in small projects!), one atom of my heart dies. It's obvious that Symfony is a giant, great tool with awesome tools and prepared workflow, but most of my projects at this time needed only a simple router, basic renderer and wrapper mechanism - so that's why I created this. If you think is it accurate for bigger projects? - the answer is - yes! A whole Digitale Schiene Deutschland project were written on this - a huge programme for German Federal Railways. And it's code is pretty easy to maintain - that's the fault of overthinked architecture, which might seem weird - but you will love it! So, now go and test my framework!

Changelog

Newest available version is [2.8.0] For changelog click here.

Contact

Created by @archi_tektur with love - feel free to contact me anytime!

You can’t perform that action at this time.