Download the PHP package jamesyps/laravel-myriad without Composer

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

Laravel Myriad

A simple pattern library package to document and display blade components.

License Latest Release PHP Version Support Build Status

Installation

Install via Composer:

Publish assets:

You can then visit the pattern library at https://your-app.xxx/myriad/components

Components

The primary purpose of this package is to document the components within a Laravel project. For more information on how components can be used, see the Laravel documentation.

To get started create a new component in the configured components directory, in this case let's start with a button:

Now it needs some documentation to show others how it can be used, what slots are available and what attributes can be passed through. This can be done with a blade comment and yaml front matter:

Within the preview view two buttons will now appear, one with the class btn-default and another with a class of btn-primary. Each one will have the text of My Button.

The front matter supports custom properties too which will be visible on the preview screen, for example if you wanted to show the current status or browser support.

You can also provide further information by adding text below the last ---. There is full markdown support within this section so you can provide nicely formatted documentation like so:

Customisation

Myriad has been developed to be full configurable to the needs of your application and workflow.

Config

Basic customisation can be made through the config file. Use the following command to publish it:

To see what options are available you can view the source code here.

Templates

To modify the default templates publish them with the following command:

You can then find them in resources/views/vendor/myriad.

Contracts

If you need to add or modify functionality for your app, you can swap out the default Component Repository and Component Model classes with your own.

If you are not extending the original classes, you must ensure that any new code adheres to the following contracts:

These can be found in the Contracts namespace.


All versions of laravel-myriad with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
illuminate/support Version ~5.6.6|~5.7.0|~5.8.0
illuminate/view Version ~5.6.6|~5.7.0|~5.8.0
spatie/yaml-front-matter Version ^2.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 jamesyps/laravel-myriad contains the following files

Loading the files please wait ....