Download the PHP package ez-it-solutions/app-cleanup without Composer

On this page you can find all versions of the php package ez-it-solutions/app-cleanup. 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 app-cleanup

Laravel App Cleanup Command

Ez IT Solutions

A powerful Laravel Artisan command for cleaning and optimizing your Laravel application with beautiful, informative console output.

📋 Overview

The app:cleanup command provides a comprehensive solution for clearing various Laravel caches and optimizing your application. It runs multiple optimization commands in sequence with visual feedback, progress tracking, and detailed execution statistics.

Command Output Example

✨ Features

Option 1: Install via Composer (Recommended)

That's it! The package will automatically register the command with Laravel.

Compatibility

This package is compatible with Laravel 6.x, 7.x, 8.x, 9.x, and 10.x.

Option 2: Manual Installation

  1. Download the AppCleanup.php file from our GitHub repository
  2. Place it in your Laravel project at app/Console/Commands/AppCleanup.php
  3. Laravel's auto-discovery should automatically register the command

📦 Creating Your Own Package

If you want to create your own version of this package, follow these steps:

1. Set Up Package Structure

Create the following directory structure:

2. Create composer.json

3. Create Service Provider

Create a file at src/AppCleanupServiceProvider.php:

4. Update Namespace in Command

Update the namespace in your AppCleanup.php file to match your package:

5. Publish to GitHub

6. Register with Packagist

  1. Visit Packagist
  2. Submit your GitHub repository URL: https://github.com/ez-it-solutions/app-cleanup
  3. Once approved, your package will be available via Composer

7. Set Up GitHub Webhooks for Packagist

To automatically update your package on Packagist when you push to GitHub:

  1. Go to your GitHub repository settings
  2. Click on "Webhooks" > "Add webhook"
  3. Set Payload URL to: https://packagist.org/api/github?username=your-packagist-username
  4. Set Content type to: application/json
  5. Select "Just the push event"
  6. Click "Add webhook"

8. Add GitHub Actions for Testing (Optional)

Create a file at .github/workflows/tests.yml:

📝 Usage

Basic Usage

This will prompt for confirmation before running the cleanup process.

Skip Confirmation

This will run the cleanup process without asking for confirmation.

🔧 Customization

Adding or Removing Commands

You can easily customize which commands are run by modifying the $commands array in the handle() method:

Customizing the Output

You can customize the header and footer boxes by modifying the strings in the handle() method:

Changing the Command Name

If you want to change the command name, modify the $signature property:

📊 Output Example

🤝 Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue.

📄 License

This project is open-sourced software licensed under the MIT license.

👨‍💻 Author

Ez IT Solutions
https://github.com/ez-it-solutions


Made with ❤️ by Ez IT Solutions


All versions of app-cleanup with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.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 ez-it-solutions/app-cleanup contains the following files

Loading the files please wait ...