Download the PHP package selenia/platform without Composer

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

Selenia Platform

An extensible application base, built on Electro

This package is meant to be installed on an Electro framework blank application.

Features

This plugin provides:

Design
  1. Administration layouts based on Twitter Bootstrap 3.
    • A main menu for your app.
    • Breadcrumb navigation.
    • Custom UI components.
    • Custom styling for the standard widgets.
    • Overridable templates for every bundled page.
Users and Authentication
  1. User management with roles support.
    • A form for editing the logged-in user's profile.
    • Automatic login form and logout action.
    • A default implementation of the User and Authentication APIs.
Translations support
  1. A fully translatable interface.
    • Translations management.
Forms

Bundled UI components

Administration / Generic App layouts
Tag name Description
Admin The base layout for all administration pages.
GridPage A layout for pages displaying a list of records.
FormPage A layout for pages displaying a form.
BaseAdmin Use this only if you need a completely custom design, but retaining all bundled scripts and styles.
Main A bare bones layout with the main menu on top.
Sub-layouts
Tag name Description
FormLayout A responsive form container. Use Field components inside.
FormLayout2Columns A responsive form container with two columns.
Widgets
Tag name Description
ActionBar A bar container for buttons of your page / form actions.
ButtonNew A button to create a new record.
ButtonSave A button to save the current record.
StandardFormActions Standard buttons to save or delete the current record. The delete button is not displayed for new records.
ButtonSubmit A generic submit button.
MenuItem A navigation link that is auto-highlighted when it matches the current URL.
Paginator A default configuration for the Paginator component.
Panel A generic panel, with title bar, footer and actions bar.
Static A static (non-editable) form field.
TerminalOutput Displays text originating from the output of running command-line processes.
UserMenu The default user session menu.

Installation

To install this plugin on your application, using the terminal, cd to your app's directory and type:

For correct operation, do not install this package directly with Composer.

Required configuration settings

The default bundled administration pages require some settings to be configured.

If you don't use these pages on your app, you don't need to set these settings.

The admin interface is multilingual (even if you use just one language on your app), and this plugin enables translation support by default.

If you have overriden that setting on your app's configuration, you'll need to enable it or create a sub-configuration to enable it for the chosen URI prefix.

You'll need to define, at least, one language on the app's configuration and select a default language on the .env file.

Example

On private/config/application.ini.php

On .env

Usage

This plugin integrates into your application's main menu. The bundled pages will appear automatically on it.

If the app does not display the menu, you'll need to navigate manually to the provided URLs to see one of the bundled administration pages.

Relative URL for the user administration page: admin/users

If you want pages on your app to inherit the bundled administration graphical layout and default functionality, you'll need to:

  1. make your controller classes inherit from Selenia\Controllers\SeleniaController
  2. include on each of your views, as root tag, one of the bundled layout templates (ex: <Selenia>).

See the bundled administration pages' source code for concrete examples.

Plugin development

If you need to perform modifications on this plugin's assets, you'll need to rebuild it before commiting those changes.

Installing the development tools

Rebuilding the plugin

License

The Selenia Platform is open-source software licensed under the MIT license.

Selenia Platform - Copyright © Cláudio Silva and Impactwave, Lda.


All versions of platform with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
electro/installers Version ^1.0.0
electro/framework Version ^0.10
electro-modules/matisse Version ^0.10
electro-modules/matisse-components Version ^0.10
electro-modules/illuminate-database Version ^0.10
electro-modules/login Version ^0.10
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 selenia/platform contains the following files

Loading the files please wait ....