Download the PHP package solenoid/simba without Composer

On this page you can find all versions of the php package solenoid/simba. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package simba

Simba

Simba is a complete solution for building professional web-apps.
It uses php-core for backend, sveltekit for frontend and capacitor for building the mobile-app with the same codebase.
This app is an SPA (single-page application) with a multi-tenant users system.




System Requirements

This software is designed for Ubuntu Server 22.04


CLI

You can execute a specific task from bootstrap.php file (CLI context)

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


Example: php x task OnDemand/Test print


Scheduler

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


Daemon

You can use or extend the integrated daemon

Setup :

  1. Creating the service -> sudo php x daemon register { name } ( default-name is < app-id >.simba )
  2. Allowing run at boot -> sudo simba service enable { name }

Start: sudo service { name } start

Stop: sudo service { name } stop

Restart: sudo service { name } restart


Setup

  1. Installing spm -> bash <(wget -qO- "https://install.solenoid.it/pkgs/spm/1.0.0/setup")
  2. Installing simba -> spm install simba
  3. Creating a new app -> simba app create <fqdn-value> -p <path> -v <version>
  4. Moving to the directory -> cd <app-dir>
  5. Configuring the file -> <app-dir>/app.json
  6. Configuring the files -> <app-dir>/credentials/*
  7. Configuring databases -> php x mysql build
  8. Importing the DB models -> php x mysql import-models
  9. Creating the user -> php x task OnDemand/User create <tenant> <user> <email>
  10. Building the app -> php x build



Development

To start the dev-server you have to digit :
php x dev

Access to https://front-dev.{ app-id }

You can set the fqdn resolution via dns-server or your local system hosts file (ex. /etc/hosts for linux) adding this entry :
Localhost-Entry = 127.0.0.1 front-dev.{ app-id }

If you are using VS Code for coding you should open the port 5173 to localhost


Build

To build the app (web + mobile) you have to digit :
php x build


Release

You can define your release logic inside a file ( ./release.php )

To release the app you have to digit :
php x release


Mode

You can develop your app component (store, service, model, task or controller) in two different modes :

Single Mode -> The component is available under one specific context (http or cli) -> Useful for specific implementations
Multi Mode -> The component is available for both of the contexts (http and cli) -> Useful for one-time coding


All versions of simba with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3.0
solenoid/core-lib Version ^1.0.0
solenoid/cdn Version ^1.0.0
solenoid/collection Version ^1.0.0
solenoid/json Version ^1.0.0
solenoid/csv Version ^1.0.0
solenoid/datetime Version ^1.0.0
solenoid/debug Version ^1.0.0
solenoid/encryption Version ^1.0.0
solenoid/base64u Version ^1.0.0
solenoid/idk Version ^1.0.0
solenoid/keygen Version ^1.0.0
solenoid/mysql Version ^1.0.0
solenoid/network Version ^1.0.0
solenoid/rpc Version ^1.0.0
solenoid/smtp Version ^1.0.0
solenoid/sse Version ^1.0.0
solenoid/text Version ^1.0.0
solenoid/vector Version ^1.0.0
solenoid/xml Version ^1.0.0
solenoid/zip Version ^1.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package solenoid/simba contains the following files

Loading the files please wait ....