Download the PHP package mafuth/php-cli without Composer

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

Contributors Forks Stargazers Issues


php-CLI

This project requires PHP as an executable command

Installation

  1. Create a project

  2. Check for installation

  3. Configure the installation

  4. test connection to database

  5. Start a local server

ajax folder

This is where cli generates ajax request files

comands folder

This is where cli generates all you run command files

database folder

inside database/create is all the cli generates database table controllers

handlers folder

This is where cli generates handle files

views folder

This is where you put you php code files that generate views on the front end

index and main files

Please do not edit these files as these are important components

requests file

This file handles all the requests to the server, edit this file as needed

To disable minification change request file compiler like shown below

If you want to use blade templating engine you can check documentation of BladeOne

config.ini file

This is the main config file of the server

Usage

git commands

  1. Configure git

On the next step press Enter to choose the default value

windows

mac & linux

Now go to https://github.com/settings/keys and add the key you just generated / opened on note pad , save the ssh keys

  1. Test git

If you see a message like 'Hi user! You've successfully authenticated, but GitHub does not provide shell access.' then everything is okay

create command

Create a database table (replace '-- your table name --' with any name of your choice)

Create a handler for post request (replace '-- your handler name --' with any name of your choice)

Create a ajax request handler for all xml requests (replace '-- your handler name --' with any name of your choice)

Create a new run command (replace '-- your command name --' with any name of your choice)

Data base tables command

Drop all tables and delete create function files

or use

if want edit a table layout just edit the table lay out file at (database/create) directory and run the command below

or use

run command

This command is used to run scripts created using (php cli create run-command -- your command name -- )

building Database queries ( reffer to 'classes/db.class.php' )

select from

select from where

delete from

update from

insert to

PWA command

This command is used generate PWA code for ur website this command requires node js and pwa asset generator by onderceylan
PWA also supports onesignal SDK which is also included in php-CLI

Composer commands

Install new composer packeges (replace '-- package name --' with any composer package of your choice)

Ftp deploy from github

Setup github workflow to easily deploy your websites to your servers using ftp or sftp

Docker

Setup a full docker enviroment for development

Database Backup

Backup your database

restore your database from backup

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!


All versions of php-cli with dependencies

PHP Build Version
Package Version
No informations.
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 mafuth/php-cli contains the following files

Loading the files please wait ....