Download the PHP package petehouston/xin-artisan without Composer

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

Xin for Artisan command

Latest Version on Packagist

Xin, in Vietnamese, is to "ask for something on demand". Now, you can xin something right into Laravel Artisan console.

Install

Via Composer

Setup

Append this line to $providers variable on config/app.php file:

Configuration

You need to add xin config file xin.php to your project:

Some config variables for use:

Command list

Following commands are supported:

Usage

Ask for IP address

Get local IP address:

Get public/external IP address:

Open a Laravel documentation section

List all available Laravel documentation sections:

Open the section on browser:

Xin will use the default system browser to open URL. Key is the value available from "list".

Open documentation in different languages:

Use --locale option. Currently, only "en" and "vn" are supported. Default is "en".

Play with log files

All logs are stored under storage/logs directory.

Read log file

The default log file is laravel.log.

You can read content of different log files by name:

Clean log file content

The log file will be empty.

You can combine clean a custom log file:

Remove all logs

This command will remove all files in storage/logs directory.

Share code via Gist

This command will share a source file to public Gist. It will response with Gist Id and Gist Url.

For example, if you want to share public/index.php file:

Note: on Windows, since the path separator is \, so you need to wrap the filename with double-quotation mark " like this:

Create empty Blade view

Wanna create Blade view file from command quickly? Use this:

It will create login.blade.php at resources/views/admin/auth, it also does create any directory that doesn't exist in the path.

Apparently, in Linux/Unix/Mac, you can use touch.

License

The MIT License (MIT). Please see License File for more information.


All versions of xin-artisan with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~5.1
illuminate/console Version ~5.1
guzzlehttp/guzzle Version ~6.0
php Version ~5.5|~7.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 petehouston/xin-artisan contains the following files

Loading the files please wait ....