osynapsy.net / osynapsy
Osynapsy is a framework MVC for develop Rich Internet Application (RIA).
0.9.21.3
2026-09-21 13:50 UTC
Requires
- php: >=7.4.0
- osynapsy/osynapsy-assert: @stable
- osynapsy/osynapsy-database: ^2.0
- osynapsy/osynapsy-datastructure: @stable
- osynapsy/osynapsy-html2: ^1.0
- osynapsy/psr: @stable
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 0.9.21.3
- 0.9.21.2
- 0.9.21.1
- 0.9.21
- 0.9.20
- 0.9.12
- 0.9.11
- 0.9.10
- 0.9.8.3
- 0.9.8.2
- 0.9.8.1
- 0.9.8
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9
- 0.8.2
- 0.8.1
- 0.8
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.5
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.3
- 0.4.2
- 0.4.1
- 0.3.0
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.7.1
- 0.1.7
- 0.1.5.2
- 0.1.5.1
- 0.1.5
- 0.1.4.1
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1
This package is auto-updated.
Last update: 2026-09-21 13:52:55 UTC
README
Osynapsy is a MVC php framework.
##Installation It's recommended that you use Composer to install Osynapsy.
$ composer require osynapsy.net/osynapsy "^0.9.5"
This install osynapsy and all required dependencies. Osynapsy require PHP 7.2.0 or newer.
Usage
The webroot directory and index file
Create and enter in webroot directory:
mkdir webroot
cd webroot
Create an index.php file with the following contents:
<?php require '../vendor/autoload.php'; $kernel = new Osynapsy\Kernel('../etc/site.xml'); echo $kernel->run();
The etc directory and instance configuration file
Create and enter into etc directory:
mkdir etc
cd etc
Create an instance.xml config file with the following contents:
<?xml version='1.0' standalone='yes'?> <configuration> <app> <Test_App> <datasources> <db id="dba">mysql:127.0.0.1:osytest:testuser:testpassword</db> </datasources> <parameters> <parameter name="siteName" value="Test app" /> <parameter name="uploadRoot" value="/upload/" /> </parameters> </Test_App> </app> </configuration>
The configuration file parts are:
- configuration tag and app subtag.
- your own app tag (Test_App in example)
- datasources section in your app tag tell osynapsy db connection to create
- parameters section in your app tag define instance parameters for your app