Download the PHP package thetemplateblog/trash-bin without Composer

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

Trash Bin Addon for Statamic

Overview

The Trash Bin addon for Statamic adds functionality to manage "trashed" content. This addon provides a control panel interface where users can view, restore, or permanently delete soft-deleted items. It extends Statamic with a user-friendly "trash bin" feature for entries and other content types.

Features:

Installation

To install the Trash Bin Addon, follow these steps:

  1. Install the Addon via Composer:

    From your project's base directory, run the following command:

    bash

  2. Publish the Configuration (optional):

    If you wish to customize the behavior, publish the config file using:

    bash

    This will create a configuration file in config/trash-bin.php where you can adjust settings such as where trashed items are stored.

  3. Clear Cache:

    After installation, make sure to clear Statamic’s cache to ensure everything is loaded properly:

    bash


Configuration

You can configure the location of trashed items, permissions, and navigation visibility by editing the published config file:

php


Permissions

You'll need to configure permissions to control access to the Trash Bin:

You can assign these permissions to specific User Roles from the Statamic Control Panel under Users → Roles.


Usage

Viewing Trashed Items

Once the addon is installed, you can access the Trash Bin from the Statamic Control Panel (CP).

  1. Open Statamic’s Control Panel.
  2. Navigate to "Trash Bin" (if shown in the navigation).
  3. The Trash Bin displays a list of all soft-deleted items (entries, assets, etc.).

Restoring Items

To restore a specific trashed item:

  1. Click "View" next to the trashed entry you want to inspect.
  2. In the detailed view, click "Restore" to restore the item to its original state.

Deleting Items Permanently

  1. In the list of trashed items, click the Delete Permanently button.
  2. This action will delete the item permanently from the trash.

Batch Actions

You can also perform batch actions (like deleting multiple items) using the batch checkbox feature at the top of the list.


Routes

By default, the Trash Bin routes are prefixed under /cp within the Control Panel (/cp/trash-bin).

Available Routes:


Support & Contributing

If you encounter any issues, feel free to report them on the Issues page of this addon’s repository.

To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin feature/your-feature).
  6. Open a Pull Request.

License

TBD


All versions of trash-bin with dependencies

PHP Build Version
Package Version
Requires statamic/cms Version ^5.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 thetemplateblog/trash-bin contains the following files

Loading the files please wait ....