Download the PHP package pocketframe/installer without Composer

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

PocketFrame Installer

PocketFrame Installer is a command-line tool designed to bootstrap a new PocketFrame application. It automates many steps of project setup by performing the following tasks:

Installation

Usage

To create a new PocketFrame application, run:

Follow the interactive prompts to provide database credentials and select optional features.

Project Creation

  1. Project Creation:

    • Clones a Git repository skeleton for a standardized project structure.
    • Creates a new directory based on the provided project name.
  2. Configuration Management:

    • Loads optional JSON configuration if the --config option is provided.
    • Merges user-defined settings with defaults.
  3. System Requirement Checks:

    • Verifies required PHP extensions (pdo, mbstring, openssl).
    • Optionally checks for Node.js installation for extended functionality.
  4. Dependency Installation:

    • Installs PHP dependencies using Composer within the new project directory.
  5. Interactive Setup:

    • Prompts the user for database configuration details.
    • Offers choices for database drivers (MySQL, PostgreSQL, SQLite) and collects credentials accordingly.
  6. Environment Configuration:

    • Copies the .env.example file to .env and generates an application key.
  7. Additional Features:

    • Configures Docker environment if needed.
    • Initializes a Git repository in the new project directory.
    • Executes post-install commands and sends telemetry data.
  8. Error Handling & Rollback:
    • Catches exceptions during the installation process, displays error messages, and rolls back previously performed steps if necessary.

System Requirements

Error Handling

If an error occurs during the installation, the installer will:

Customization

You can customize the installation process by providing a custom configuration file with the --config option.

License

This project is licensed under the MIT License.


All versions of installer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
symfony/console Version ^6.3|^7.0
symfony/filesystem Version ^6.3|^7.0
symfony/process Version ^6.3|^7.0
symfony/yaml Version ^6.3|^7.0
composer/composer 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 pocketframe/installer contains the following files

Loading the files please wait ...