Download the PHP package nf/input without Composer

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

Extension Kit

It's an extension kit for our theme https://github.com/hieu-pv/nf-theme

Installation

Clone repository

Update your information

If you want provide some function that is bootstrapped when wordpress start, we will register them in src/ExtensionKitServiceProvider.php

For example: register css/js file

then in config/app.php of the theme we have to register service provider

Compile asset file

{tip} You can write your own javascript in /assets/scripts/app.js and css in /assets/styles/app.scss

All compiled file will be located in /assets/dist

Install node module
Run asset compiler
Run asset compiler on production mode
Watch file change and compile

{tip} You can write your own config in webpack.config.js

Service

Blade is the simple, yet powerful templating engine provided with this kit. You can use it via NightFury\ExtensionKit\Facades\View

{tip} Blade file are located in /resources/views

For example we have a file /resources/views/example.blade.php then we can use this file by following code

For more information about blade engine https://laravel.com/docs/5.5/blade

Working with local repository

In addition to the artifact repository, you can use the path one, which allows you to depend on a local directory, either absolute or relative. This can be especially useful when dealing with monolithic repositories.

To add local repository to your project, add the following code to your composer.json then run command composer install

For example

For more information https://getcomposer.org/doc/05-repositories.md

Extension Configuration

In some case we need some configuration from user, we can use nf/theme-option package

Checkout package repository for install and supported field https://github.com/hieu-pv/nf-theme-option

Register option scheme in your service provider src/ExtensionKitServiceProvider.php

All versions of input with dependencies

PHP Build Version
Package Version
Requires nf/core Version ^3.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 nf/input contains the following files

Loading the files please wait ....