PHPackages                             solenoid/simba - 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. solenoid/simba

ActiveProject[Framework](/categories/framework)

solenoid/simba
==============

HTTP/CLI framework

v1.0.0(1y ago)02MITJavaScriptPHP &gt;=7.3.0

Since Apr 11Pushed 1y agoCompare

[ Source](https://github.com/Solenoid-IT/simba)[ Packagist](https://packagist.org/packages/solenoid/simba)[ Docs](https://github.com/Solenoid-IT/simba)[ RSS](/packages/solenoid-simba/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (21)Versions (2)Used By (0)

Simba
=====

[](#simba)

Simba is a complete solution for building professional web-apps.
It uses [**php-core**](https://github.com/Solenoid-IT/php-core-lib) for backend, [**sveltekit**](https://kit.svelte.dev) for frontend and [**capacitor**](https://capacitorjs.com) for building the mobile-app with the same codebase.
This app is an **SPA** (single-page application) with a multi-tenant users system.

 [![](https://camo.githubusercontent.com/d24b95522e6d5f6b41e1d32a17ac9ecb9e3e3b4fd2e3ae86e788fb5ee6964b4f/68747470733a2f2f6465762e73696d62612e736f6c656e6f69642e69742f6173736574732f696d616765732f73696d62612e706e67)](https://camo.githubusercontent.com/d24b95522e6d5f6b41e1d32a17ac9ecb9e3e3b4fd2e3ae86e788fb5ee6964b4f/68747470733a2f2f6465762e73696d62612e736f6c656e6f69642e69742f6173736574732f696d616765732f73696d62612e706e67)

System Requirements
===================

[](#system-requirements)

This software is designed for [**Ubuntu Server 22.04**](https://releases.ubuntu.com/22.04/ubuntu-22.04.4-live-server-amd64.iso)

CLI
===

[](#cli)

You can execute a specific task (**CLI** context)

Syntax: `php x task {id} {method} ...{args}`

Example: `php x task OnDemand/Test print`

Scheduler
=========

[](#scheduler)

You can schedule your tasks ( **./tasks/scheduler.json** )
Scheduler is managed by the **daemon**

Daemon
======

[](#daemon)

You can use or extend the integrated daemon

Setup :

1. Creating the service -&gt; `sudo php x daemon register {name}` ( default-name is **{app-id}.simba** )
2. Allowing run at boot -&gt; `sudo simba service enable {name}`

Start: `sudo service {name} start`

Stop: `sudo service {name} stop`

Restart: `sudo service {name} restart`

Setup
=====

[](#setup)

1. Installing spm -&gt; `bash
