Download the PHP package moztopia/artisanize without Composer

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

Here's a suggested structure for your detailed README file:


Artisanize Package

Overview

This application is a development testing tool created to facilitate local Laravel development needs, and we are pleased to share it with the community.

Why was this app created?

As developers, we often need efficient tools to streamline testing processes. The first tool in this suite is lang:translate. It serves to:

Installation

Before you install ..

If you have a desire to use the lang:translate tool, you will NEED a Google AI Studio API key. At the time of this tool's creation, the process was very easy and could be completed in a couple of minutes. Specifically:

1. Go -> https://aistudio.google.com

2. Click the (Get API key) link

3. Complete Google's Process

Hang on to the key for after the installation and then open the .env file and put your key in the variable ... it will look something like this:

LANG_TRANSLATE_GEMINI_KEY=your-(aistudio.google.com)-key,

and you will make it look something like this:

LANG_TRANSLATE_GEMINI_KEY=ljkh24jhkfwkhkjh23kjhkl34hj23k4jh,

Installing the Artisanize Tools

To install this package, use Composer to require the package and publish the necessary assets:

!!! CRITICAL !!!

After installing and running the vendor:publish command there will be a new folder in your lang/ folder called .source. You should copy any file(s) that you want to be ai-translated (regardless of their language) into this folder. This is the source folder that the tool uses to generate language files in all of the ISO-639 folder names.

Tools

lang:translate

The lang:translate tool allows you to generate translated language files for testing and localization. It leverages the Gemini API for translations.

Command Signature:

Options:

Key Features:

  1. Multi-language Generation:

    • Supports translating language files to various ISO-639-compliant languages.
    • Aims to preserve translation consistency across files.
  2. File Matching:

    • Allows the use of patterns (e.g., *, ?) to match specific files for translation.
  3. Overwrite Support:

    • Ensures existing files can be updated or left untouched, based on your requirements.
  4. Environment Variables:

    • Customize behaviors (e.g., LANG_TRANSLATE_BASEPATH, LANG_TRANSLATE_FILES) through .env settings.
  5. Translation API:
    • Uses the Gemini API for accurate and meaningful translations.

Example Usage:

Translate all files for French (fr) and German (de), including overwriting existing translations:

Contributing

We welcome contributions! Feel free to fork the repository, create a branch, and submit a pull request.


All versions of artisanize with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
laravel/framework Version >=11.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 moztopia/artisanize contains the following files

Loading the files please wait ....