Download the PHP package atwx/silverstripe-projectinfo without Composer

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

Silverstripe Project Info

Tells you what a Silverstripe install is running on, hands out its database and assets, and lets you reach another install from your own command line.

The module wears two hats depending on where it is installed. On a live site it exposes the panel and the export endpoints, so the site can be copied and inspected. On a development machine it provides the tasks that go and fetch that copy, or run a build task on the live site without opening a browser. Installing it in both places is the normal case.

Installation

Nothing needs configuring for the settings panel, and nothing else has to be installed for it.

The Project Info panel

ProjectInfoExtension adds a Project Info tab to the CMS settings area showing the database name and the size of the assets directory, with buttons for the export endpoints below it.

LeftAndMainBackupExport puts those endpoints on the settings controller:

Endpoint Returns
admin/settings/doBackup a .sql dump of the database
admin/settings/doDownloadAssets every asset as one ZIP
admin/settings/doListAssets the asset tree as JSON
admin/settings/doDownloadAsset?path=… one asset by its relative path

The methods carry no permission check of their own. They are actions on the settings controller, and it is LeftAndMain that gates them: an unauthenticated request to any of the four is redirected to the login. Keep them there — moved onto a plain Controller they would hand out the database to anyone.

The last two exist because a large assets directory is better fetched file by file than as a single archive that times out, which is exactly what tasks:pull-live does.

Pulling this site somewhere else

The endpoints above are what atwx/silverstripe-gate-tasks reads when it copies a site onto a development machine. That module used to live here; it moved out so this one could go back to being about the panel and the export.

Requirements

Silverstripe 6 and silverstripe/admin 3, which between them settle the PHP version. Dumping uses spatie/db-dumper.


All versions of silverstripe-projectinfo with dependencies

PHP Build Version
Package Version
Requires ext-zip Version *
silverstripe/framework Version ^6
silverstripe/admin Version ^3
spatie/db-dumper Version ^3.4
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 atwx/silverstripe-projectinfo contains the following files

Loading the files please wait ...