Download the PHP package iastate/frontend-component-library without Composer

On this page you can find all versions of the php package iastate/frontend-component-library. 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 frontend-component-library

Iowa State University Front End Library

This is a frontent library designed and built for use in Iowa State University web projects.

Installation of this library into your projects

Installing via composer

Whenever possible, we reccomend using composer to install this library, to ensure all future updates can be pulled in to your project.

composer require iastate/frontend-component-library

Using the library

In general, to use this library in your own project, you would need to link the CSS/JS files from the build folder:

You can then pull, and utilize the provided markup examples in your own project.

Development

This library is designed to be used "as-is" for most developers. If you wish to modify this library, you will need to create your own fork. This section is strictly information for those working on, and committing to, this project.

The component library includes Fractal for component based development. Your own components can be added to the src/components folder. Static assets such as JavaScript, CSS and images will be served out of the build folder, but can also be configured to your specific needs by editing the fractal guide.

General notes:

Dependencies

Dependencies need to be installed with node/npm, and is best pinned to stable versions via nvm. More on node usage at idfive.

Building for development

To start the fractal development server:

Building for production

To build your code for production, prior to a release, run the following:

This will generate build and fractal folders at the root of your project. The build folder contains all of your compiled assets (CSS, JavaScript etc.), while the fractal folder contains a static generated version of your Fractal component library, which can be used for previews and an online reference to your component library. The build folder is committed, in order that projects may use it as a dependency directly.

Versioning

Releases for this project should follow Semantic Versioning.

Steps when releasing:

Markup

Page wrapper and overall structure

This structure below shows the overall wrappers and ordering needed to properly display the layout:

Images

All images should be added to src/images which compiles to build/images/*.

CSS/JS

Utility Classes

Acceptance Standards


All versions of frontend-component-library with dependencies

PHP Build Version
Package Version
No informations.
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 iastate/frontend-component-library contains the following files

Loading the files please wait ....