Download the PHP package celarius/spin-framework without Composer
On this page you can find all versions of the php package celarius/spin-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download celarius/spin-framework
More information about celarius/spin-framework
Files in celarius/spin-framework
Package spin-framework
Short Description A super lightweight PHP UI/REST Framework
License MIT
Homepage http://spin.celarius.com
Informations about the package spin-framework
SPIN - A super lightweight PHP UI/REST framework
SPIN is a application framework for making Web UI's and REST API's quickly and effectively with PHP. It uses PSR standards for most things, and allows for plugging in almost any PSR compatible component, such as loggers, HTTP libraries etc.
- SPIN - A super lightweight PHP UI/REST framework
- 1. Features
- 1.1. PSR based integrations
- 2. Installation
- 2.1. Using the spin-skeleton
- 2.2. Testing
- 3. Technical Details
- 3.1. Apache configuration
- 3.2. Nginx configuration
1. Features
- PHP 8+
- Platform agnostic. (Windows, *nix)
- Routing engine, with route groups
- Middleware
- Containers
- Composer driven in packages/extensions
- PDO based DB connections (MySql,PostgreSql,Oracle,CockroachDb,Firebird,Sqlite ...)
- Extendable with other frameworks (ORM, Templates etc.)
1.1. PSR based integrations
- Logger (PSR-3) Defaults to Monolog
- HTTP Message (PSR-7). Defaults to Guzzle
- Container (PSR-11). Defaults to The Leauge Container
- SimpleCache (PSR-16). Defaults to APCu SimpleCache
- HTTP Factories (PSR-17)
2. Installation
Installing spin-framework as standalone with composer:
2.1. Using the spin-skeleton
To install and use the spin-framework it is highly recommended to start by cloning the spin-skeleton and
running composer update -o
in the folder. This will download all needed packages, and create a template skeleton project, containing example
configs, routes, controllers and many other things.
2.2. Testing
On Windows based systems simply type
At the command prompt and all tests will be executed.
3. Technical Details
- Cache
- Helpers
- Databases
- Uploading files
- Storage folders
3.1. Apache configuration
VHost for running the application under Apache with domain-name recognition.
If Port number based applications are desired the <VirtualHost:80>
needs to change to
the corresponding port, and the domain.name
removed from the config.
3.2. Nginx configuration
All versions of spin-framework with dependencies
ext-mbstring Version *
ext-openssl Version *
psr/log Version *
psr/container Version *
psr/http-factory Version ^1
psr/http-message Version ^2
psr/simple-cache Version ^3
psr/cache Version ^3
nikic/fast-route Version ^1
guzzlehttp/guzzle Version ^7.4
monolog/monolog Version ^3
firebase/php-jwt Version ^6
league/container Version ^5
ramsey/uuid Version ^4
predis/predis Version ^2