Download the PHP package gbmcarlos/skellington without Composer

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

What's this?

This skeleton allows to have a working Laravel or Lumen application running inside a Docker container completely out of the box, and configurable through environment variables.

Features

How to install it

Setup

Requirements

Environment variables

Every project reads its environment variables from the file src/.env, which is not tracked in the repository by git. A list of the required environment variables is kept in the file src/.env.example.

Crossbow

This project makes use of gbmcarlos/toolkit as a library, which is installed as a git submodule.

Development

Web service

When working on the web service, use make or make logs. This script will:

Background process

When working on a background process, use make command ARGS={your command}. This script will do the same as make logs, but instead of spinning up the web server, it will run the specified Artisan command with the given options. For example

Configuration environment variables

These environment variables are used to configure how the project is built and ran, and they are given a default value optimized for production in the Dockerfile. Makefile gives them a default value optimized for local development which overrides the one in the Dockerfile.

ENV VAR Default value (production \ local) Description
APP_PORT 80 The port Docker will use as the host port in the network bridge. This is the external port, the one you will use to call your app.
APP_DEBUG true Use to toggle the application debug configuration
APP_NAME Name of the project's root folder Used to name the docker image and docker container.
APP_RELEASE Current commit hash (HEAD) / latest Used at build time to persist the environment variable into the image.
BASIC_AUTH_ENABLED true / false Enables Basic Authentication with Nginx. If enabled, it will use htpasswd with BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD to encrypt with bcrypt (cost 10).
BASIC_AUTH_USERNAME admin Username for the Basic Auth
BASIC_AUTH_PASSWORD APP_NAME_password Password for the Basic Auth
XDEBUG_ENABLED false / true Enables Xdebug inside the container.
XDEBUG_REMOTE_HOST host.docker.internal Used as the xdebug.remote_host PHP ini configuration value.
XDEBUG_REMOTE_PORT 10000 Used as the xdebug.remote_port PHP ini configuration value.
XDEBUG_IDE_KEY APP_NAME_PHPSTORM Used as the xdebug.idekey PHP ini configuration value.

Running commands

To run a arbitrary command inside your web service container, you can do so with:

Or you can execute an interactive terminal in the container with:

Installing a new package

When installing a new package let Composer choose the exact version by running composer require {package} inside the container (see the "Running commands" section). Then extract the composer.json and composer.lock from inside the container (see the "Updating dependencies" section).

Updating dependencies

To update the dependencies, run composer update inside the web service container (see the "Running commands" section). Then extract the composer.lock file with:

Updating NPM dependencies (Laravel only)

To update the NPM dependencies, run npm update inside the web service container (see the "Running commands" section). Then extract the package-lock.json file with:

Then you can copy the result into your .env as the value of the variable APP_KEY

Xdebug support

Even though the project runs inside a Docker container, it still provides support for debugging with Xdebug. By telling Xdebug the remote location of your IDE and configuring this one to listen to a certain port, they can communicate with one another.

Use the XDEBUG_ environment variables to configure your project's debugging. The default values on the local start-up scripts are optimized for PhpStorm on Mac.

Xdebug for PhpStorm on Mac

Check this documentation to configure your IDE. Use the XDEBUG_ and APP_NAME environment variables and the path mappings:

Technology Stack

License

This project is licensed under the terms of the MIT license.


All versions of skellington with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
fideloper/proxy Version ^4.0
laravel/framework Version 5.7.*
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 gbmcarlos/skellington contains the following files

Loading the files please wait ...