PHPackages                             sophwork/sophwork - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. sophwork/sophwork

ActiveLibrary[Framework](/categories/framework)

sophwork/sophwork
=================

Simple PHP Oject Framework

0.1.1(10y ago)115MITPHPPHP &gt;=5.4.0

Since Nov 8Pushed 10y ago3 watchersCompare

[ Source](https://github.com/pinnackl/Sophwork)[ Packagist](https://packagist.org/packages/sophwork/sophwork)[ RSS](/packages/sophwork-sophwork/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Sophwork
========

[](#sophwork)

Simple PHP Oject Framework
--------------------------

[](#simple-php-oject-framework)

This micro-framework was first created to help people learning Object Oriented Programming through a framework.

It's quite simple to get started and quite alike with a well known micro-framework : [Silex](https://github.com/silexphp/Silex) *(based on Symfony components)*.

The aim is not to provide a production ready framework that you should use in your enterprise project but mostly to try things and to bootstrap a small structured project very quickly.

Installation
============

[](#installation)

The recommended way to install Sophwork is through [Composer](https://getcomposer.org/):

***$ composer require sophwork/sophwork "0.1.1"***

As you can also download it from : [here](https://github.com/pinnackl/Sophwork/archive/0.1.1.zip)

Getting started
===============

[](#getting-started)

Server configuration
--------------------

[](#server-configuration)

You first need to configure your server to use Sophwork. You can take exemple on the .htaccess file in the sources folder. *(Make sure Apache2 mod\_rewrite is enabled: here is a [quick tutorial](http://stackoverflow.com/a/5758551))*.

```
#Default htaccess
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
```

Using Sophwork
--------------

[](#using-sophwork)

```
