Download the PHP package xiaolin/ufa without Composer

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

UFA Introduction

UFA: Uniform Frontend Archiecture. A PHP composer plugin. 1

How to use?

  1. To add it in your composer.json.

    If this step success, you can find the vendor/angejia/ufa/ folder under your project.

  2. To add ufa as a service in your config/app.php.

    After this step, you can use it anywhere without error, such as ufa()->extJs() or ufa()->extCss() .etc.

    Note: although it has no error but it still do nothing in your html. In other words, it doesn't include any styles or scripts when your page loading. It won't work, unless you finish next step.

  3. To add ufa views in your config/view.php and include ufa styles & ufa scripts in your HTML blade view.

    Add ufa styles and ufa/scripts, for example:

    And untill now, the ufa()->extJs and ufa()->extCss works as you expected.

API List

You can use all the following function as this: ufa()->asset('image/home.jpg').

Get single parameter.

Get all parameters.# ufa

ufa


All versions of ufa with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
laravel/framework 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 xiaolin/ufa contains the following files

Loading the files please wait ....