Download the PHP package pollen-solutions/skeleton without Composer

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

Skeleton Component

Latest Stable Version PHP Supported Versions

Skeleton Component provides structures of standalone project based on Pollen Solutions suite.

Table of contents

Features

The Pollen solutions Skeleton component embeds :

To try it is already to contribute, you are welcome !

Installation

Standard installation

Prerequisite

Launch installation

Serve the app

Serve your application using the built-in web server in PHP (or your server of choice) from the directory:

Visit the application in the browser:

Docker installation

Prerequisite

Launch installation

Launch application builder

Visit the application in the browser:

Retrieve More details about docker usage in a Pollen application from the built-in documentation.

Configuration

Environment configuration

During the installation process, the file is copied to . This file contains all required default configuration.

Customize a local environment configuration

To customize your application configuration, you can directly edit the file, but the best practice is to create a new file that will contain all the configuration attributes specific to your installation. Through the file you can if necessary override an environment value declared in the file or define new ones :

Environment variables types

Environment variable mapping

You can use another existing global or previously defined environment variable like this :

Note that, for security reasons, global environnement variables couldn't be overridden.

Use application variable

In some special cases, you may need to access application variable to complete the configuration of your environment variables and the merge vars could help you.

The paths of the application are natively available :

Example of usage :

Pollen solutions suite uses the vlucas/phpdotenv library to work. More information on its github repository.

Directory structure

The Skeleton component is a micro-framework. Like other solutions of this type, it is opinionated and its directory structure is intended to provide a starting point for creating a complete web application.

The Root directory structure

The Root directory details

src

The directory contains the core PHP code of your application.

resources

The directory contains the templating code. This included views and css, js, fonts, images and all other assets files.

public

The directory contains the index.php file, which is the entry point for all requests entering your application and configures autoload.

This directory also houses the build assets such css, js, fonts, images and all other assets files.

config

The directory, as the name implies, contains all of your application's PHP configuration files.

docs

The directory contains the complete documentation of the micro framework and its components. Work in progress ;)


All versions of skeleton with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-json Version *
composer/installers Version ^1.12
monolog/monolog Version ^2.8
pollen-solutions/asset Version ^1.0
pollen-solutions/console Version ^1.0
pollen-solutions/database Version ^1.0
pollen-solutions/debug Version ^1.0
pollen-solutions/kernel Version ^1.0
pollen-solutions/log Version ^1.0
pollen-solutions/view-extends Version ^1.0
vlucas/phpdotenv Version ^5.3
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 pollen-solutions/skeleton contains the following files

Loading the files please wait ....