Download the PHP package solenoid/core without Composer

On this page you can find all versions of the php package solenoid/core. 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 core

Project

Core is a smart HTTP/CLI MVC framework for building easy or very complex endpoints with a large set of integrated backend libraries.

The current project contains a sample web app to make developers easier to learn the internal logic of this framework.

For the official and complete documentation you should navigate to Knowledge Base.

Solenoid Core Logo



Setup

To create a new Core project you just have to run the following commands from your terminal :

git clone https://github.com/Solenoid-IT/php-core ./core
cd ./core/private
php x init

Requirements

OS >= Ubuntu 22.04.1 LTS
WebServer >= Apache 2.4
Runtime-Environment >= PHP 7.3

Contexts

Core can run both HTTP and CLI contexts with the same codebase :

HTTP = path resolver -> gate -> middleware groups -> controller -> response
CLI = task runner -> response

Store, model and service objects are shared between HTTP and CLI so they are defined once and are usable on both contexts.

Logs

Core will capture and log both all of the thrown errors and every execution call

Environments

Core give you the ability to run under different specialized environment types ("dev" and "prod" are the reserved ones but you can define your custom ones) :

dev = This type will show you every error in the system and use uncached version of the web assets (css, js or other static resources) when you define the asset url with the function Core::asset

prod = This type will hide every error from the system (security issues) and use cached version of the web assets to improve the frontend performance and ux

custom = This type can be defined in a custom way

( Error logs will be tracked independently from the current environment settings )

Utility

Core has an integrated top-level CLI utility "x" to make some useful operations like to initialize the project, install packages, manage git repos, creating objects (stores, models, services, middlewares or controllers), manage apache, certs and crons.

Routes

Core has a map-file to define how to resolve a request by its URL path.

Route -> Goes to a destination object (you can attach multiple middleware groups or tags to it)
Path -> Can be static or dynamic (containing placeholder-variables)
Verb -> HTTP verb of the path (ex. GET, RPC, SSE or DELETE)
Destination -> Object that will run the stack ( gate -> middleware groups -> controller )

Integrations

Core has a built-in support for SvelteKit as frontend JS framework.
You can install it by executing : php x svelte install

UI

This project uses the sb-admin as UI template

Performance

Memory used for bootstrapping (minimal consumption) :

HTTP -> 216 B
CLI -> 96 B

License

Solenoid Core framework is subjected to MIT license so it is opensource friendly


All versions of core 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/csv Version ^1.0.0
solenoid/datetime Version ^1.0.0
solenoid/debug 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
solenoid/bin 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/core contains the following files

Loading the files please wait ....