Download the PHP package laravel-ja/comja5 without Composer

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

comja5

Laravel5.5LTSがリリースされました。このパッケージはフレームワーク初心者の理解を手助けするため、リソースの翻訳を提供してきました。しかし、Laravelは高機能化が進み、既に初心者に勧められるほどシンプルではなくなりました。そこで、翻訳機能の更新は停止することにしました。

日本語(ja)の翻訳(言語)ファイル中、バリデーションエラーメッセージに関わる、validation.phpのみ当面保守していきます。

A translation command for comments in files of laravel/laravel repository to Japanese. In addition

Laravel5のlaravel/laravelリポジトリーに含まれているファイルのコメントを日本語に翻訳します。

そのほか、おまけ機能として、タブの4空白変換とja言語ファイル生成ができます。

注意:コマンドはインストール直後のプロジェクトで実行してください。翻訳機能は英語の文字列を日本語へ変換しています。既にコーディングしたプロジェクトでは、意図しない箇所が変換される可能性があります。

インストール

プロジェクトのみにインストールする

プロジェクトのルートディレクトリ(composer.jsonファイルがある場所)で実行してください。

composer require laravel-ja/comja5

修正後、composer updateを実行してください。

グローバルにインストールする

composer global require laravel-ja/comja5

ホームディレクトリーの.composer/vendor/binに実行パスが通っていることを確認してください。

注意:"dev-master"は開発/デバッグ中のリポジトリのため、動作しないことがあります。

実行

コマンドの実行は、Laravelをインストールしたディレクトリーのトップで行います。

プロジェクトにインストールした場合

vendor/binの中にcomja5コマンドが作成されています。プロジェクトのルートディレクトリーで以下のように実行してください。オプションの説明が表示されます。

vendor/bin/comja5

グローバルにインストールした場合

comja5

Windowsの場合、コマンドがプロンプトやパワーシェルに出力するコードはSJISです。

翻訳したファイルの日本語はUTF8、改行コードは*nix形式です。

実行時オプション

-c もしくは --comment

laravel/laravelリポジトリーに含まれている、コメントを翻訳します。

-t[=空白数] もしくは --tab[=空白数]

タブを指定した数の空白に変換します。デフォルトは4文字です。

-f もしくは --file

日本語の言語ファイルをresouces/lang/jaディレクトリー下に生成します。

-r もしくは --remove

コメント行、空行を削除します。

-a もしくは --all

コメント翻訳、タブ変換、言語ファイル生成を実行します。

-A

コメント削除、タブ変換、言語ファイル生成を実行します。

アンインストール

翻訳すれば、後は用済みです。インストール時にrequireセクションに付け加えたパッケージ指定を削除し、再度composer.jsonを実行します。

不具合の報告

GitHubでも良いですが、Twitterの@HiroKwsでも、Laravelに関するチャットを行っているlarachat-jp.slack.com(招待制:招待状は[email protected]まで)でも結構です。

Licence/Rights

Copyright by Hirohisa Kawase

Licensed by MIT License


All versions of comja5 with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
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 laravel-ja/comja5 contains the following files

Loading the files please wait ....