Download the PHP package fraserpage/no-cry-cli without Composer

On this page you can find all versions of the php package fraserpage/no-cry-cli. 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 no-cry-cli

BW WP plugin update tool

Creates a CLI tool named no-cry that makes updating plugins and WP Core (hopefully) not want to make you cry.

Creates a new branch, runs updates, individually commits them and gives you a nice output of what it did.

Build Requrirements

Installing the tool

  1. the built application is included in this repo in the /builds/ folder
  2. from the root of the project directory run mv builds/no-cry /usr/local/bin to move the build to your bin folder (you might need to add sudo to that command.)

Building the tool

  1. composer install
  2. run php no-cry app:build to build the tool
  3. run mv builds/no-cry /usr/local/bin to move the build to your bin folder (you might need to add sudo to that command.)

Using the tool

Before you start

  1. make sure the local master branch of the site you want to update is up to date with the remote and the working directory is clean
  2. if you're using Lando start it up
  3. if you're using a different local server (e.g. Valet) make sure you've got the WP-CLI installed
  4. make sure that all paid plugins are licenced locally in order to recieve updates

Basic usage

Options

Run on Lando

Specify ticket # in the command

Specify branch to run on

Config file

Add a .no-cry.json file in the root of your project to save you from entering arguments each time you run the tool.

Prompts

  1. if you didn't enter the plugin update ticket number as an argument you'll be prompted to -- it'll be appended to the branch name like: {$ticket}-plugin-updates-{$now->format('Y-m-d')}
  2. the tool will ask if you'd like to update WP Core
  3. the tool will ask if you'd like to add the output to your clipboard. This clipboard content will include GitLab quick actions

Output

  1. the tool will let you know what it's doing.
  2. after it's done the tool will print out a list of what was updated

Clean up

  1. pay attention to any errors in the plugin updates. You may need up update some mannually.
  2. after all plugins are up to date, and each update committed:
  3. push your changes, merge and deploy to staging for testing

To do

  1. add option to specify ticket number in branch name
  2. include update wp core
  3. optionally specify/select branch to commit to?
  4. Code cleanup: Spin out some of the main Command file into Concerns
  5. Figure out a nice solution to update paid plugins (Integrate SatisPress??) --> new Composer based workflow
  6. Figure out a way to update Must Use plugins (Composer)

Laravel Zero

This project uses Laravel Zero. For full documentation, visit laravel-zero.com.


All versions of no-cry-cli with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
laravel-zero/framework Version ^8.8
wp-cli/wp-cli Version ^2.5
wp-cli/wp-cli-bundle Version ^2.5
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 fraserpage/no-cry-cli contains the following files

Loading the files please wait ....