Download the PHP package outsourced/log without Composer

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

Outsourced

Build Status

Standalone server service for managing your applications's:

Demo

Outsourced web client

Create new connection to demo server:

create demo connection

Installation

Demo Installation

Demo installlation is good just for trying thinks out. You will not be able to update application in the future easily.

First step is to install source code

composer create-project --prefer-dist --no-dev outsourced/log

this command will create a folder named log. This guide will assume, you have not changed this folder name

Switch to newly creted directory cd log and start app setup.

These command will guide you trough app setup, database setup and will create all database tables.

sudo chown -R www-data:www-data storage

This commad will grant access permission for storage folder. Application logs are stored there.

Then you have to configure your virtual host.

If you are runnig this application localy, then you will have to add to hosts file.

Now you should be able to access one API endpoint. Open your web browser and input <subdomain>.<your_domain>/api/v1/projects. You should receive json response with empty array.

Installation

Production installation is slightlly different, because you have to think about future updates. That requires a special directory structure. We have prepared a list of commands that will create this directory structure for you. The idea is to have a releases directory, that contains every update. You can switch what version is currenctly in use. To switch between version you will use direcotry link current that will point tu currently used version. Then there is a storage direcotry, that stores your application data an logs. So every version in releases directory will use the same storage. environment directory has configuration for this instance of application. public directory contains index.php and .htaccess files. This is also a directory that your virtual host should refer to. And last directory is console and there you can find script that can help you set up some enviroment values or clear cache or migrate database ...

Then you should go to console directory and run initial setup.

Application will need access to one directory, so you will have to run sudo chown -R www-data:www-data storage

Then you have to configure your how to setup certificate with certbot

If you are runnig this application localy, then you will have to add to hosts file.

Now you should be able to access one API endpoint. Open your web browser and input <subdomain>.<your_domain>/api/v1/projects. You should receive json response with empty array.

Update to new version

Rollback to previous version

API

Logging

Single

Body

Batch

Body

Permissions

Verify

Query

Response

SDK

Contribution


All versions of log with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
fideloper/proxy Version ^4.0
firebase/php-jwt Version ^5.2
imliam/laravel-env-set-command Version ^1.0
laravel/framework Version ^6.2
laravel/tinker Version ^2.0
psr/log Version ^1.1
sentry/sdk Version ^2.1
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 outsourced/log contains the following files

Loading the files please wait ....