Download the PHP package exfriend/laravel-overseer without Composer

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

Allows to control artisan commands from Web/API.

Overview

This package is designed primarily to control various background tasks from admin dashboard of your application.

Once installed, Laravel Overseer will provide a flexible JSON API to check, start, stop, monitor your commands in real-time.

When used with overseer-bootstrap it will also give you a fully functional dashboard pages written in VueJS with Twitter Bootstrap 3.

If you use a different frontend or want to customize any part of it, you can publish the assets and/or use them as a reference to write your own frontend on top of Overseer's API.

All you have to do is extend your Artisan command from Exfriend\Overseer\Command instead of Illuminate\Console\Command.

Installation

composer require exfriend/laravel-overseer

or

composer require exfriend/overseer-bootstrap

for bootstrap version with frontend.

Then, add the package's service provider to your config/app.php:

Make a directory to store the logs:

Example command

Now you are ready to create your first Overseer Command. Basically it's very much like Laravel's console command but there are couple of differences.

The command above describes how your real commands should look like.

Using the API

GET http://your_project/overseer/api/commands

GET http://your_project/overseer/api/command?command=App\Robots\Rozetka\Command

GET http://your_project/overseer/api/current_log?command=App\Robots\Rozetka\Command

GET http://your_project/overseer/api/run?command=App\Robots\Rozetka\Command

GET http://your_project/overseer/api/stop?command=App\Robots\Rozetka\Command

GET http://your_project/overseer/api/unlock?command=App\Robots\Rozetka\Command

Mutex locks

Overseer uses mechanism called Mutual Exclusion to prevent your task overlapping. Sometimes it is useful to use "unlock" command to delete the mutex file. This can be used e.g. if your task died with uncaught exception and was unable to delete the lock file properly. In this case your system will consider this task as running until you delete the lock file manually or by using unlock api method.

Console improvements

Overseers adds 2 options to every command you run from console:

GUI

If you're looking for a webpage-based user interface for this package, make sure to check out overseer-bootstrap.

Contributing

This package is work-in-progress. Pull requests are welcome. There is so much work ahead!


All versions of laravel-overseer with dependencies

PHP Build Version
Package Version
Requires exfriend/artisan-mutex Version ^1.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 exfriend/laravel-overseer contains the following files

Loading the files please wait ....