Download the PHP package noherczeg/breadcrumb without Composer

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

Breadcrumb

A package for breadcrumb management.

This package is no longer maintained!

Total Downloads Build Status Scrutinizer Quality Score

Features:

Installation:

This package is based on composer, so if you have it installed you're pretty much halfway done already.

Composer:

Download and install composer from http://getcomposer.org/download/

Add this to your project root's composer.json file:

If you're done, just run a php composer install, and the package is ready to be used!

Laravel specific settings

Please keep in mind that this package is framework agnostic! You can use it by itself as well with any framework out there!

Laravel 3 setup:

If you're using laravel 3 you will have to do the following to be able to use composer based packages:

Registering package with Laravel 4 as a service:

Put the following in your app/config/app.php file under providers array:

Adding the alias of the facade is done in the same file under aliases:

Overriding the default configurations is done in a published config file. You can create it by typing:

Usage examples:

General usage:

1) Preparing the Package:

Using non default language (en, or one which is set in your configuration):

Or using a custom translation array (since 2.0.2):

Overriding configurations (can be chained, or chain can be continued):

2) Registering a batch of segments from variable input types:

Warning:

Supported sources: Array, JSON Array, String

3) Registering Segments piece by piece:

You can add segments one by one, and you can also tell Breadcrumb which side to put them in. This is useful when you are processing the data piece by piece and you don't necessary know the order of the final result at the start.

You can tell Breadcrumb if you don't want to translate a particular element, or if you want it to be a specific value

We now use method chaining as well, but it's just an option :)

4) Adding a segment which points to the base url:

Since the latest build (2.0.0) a major logic problem has been fixed. Now from whatever source you've used to seed Breadcrumb doesn't automatically set the first element as a root element. This fixed the issue with the links! From now on if you want to add an element which points to the base url, you have to append one whenever you'd like to:

5) Removing Segments from the list:

You can remove segments one by one from the registered bunch.

6) Adding/setting separator links (disabled Breadcrumbs):

You can now add or set segments as disabled which means that in any builder they will be handled separately: they wont be translated and appropriate formatting will be applied.

This can be useful when one needs to handle variable elements.

Adding a brand new disabled element:

Disabling a pre populated element:

7) Overwriting translation:

Since: 2.0.2

8) Building breadcrumbs:

Creating breadcrumbs can be simple or complicated as well if you desire. The package also lets you define your own builders as well (examine the Builders folder if you want to).

First we start out by adding some elements to work with
a) Creating breadcrumbs with default settings:
b) Creating Zurb Foundation style breadcrumbs:
c) Creating Bootstrap style breadcrumbs:
d) Creating complex HTML breadcrumbs:

8) Utility functions:

These functions exist to somewhat ease your work with this package.

Laravel 3 specific, detailed:

Changelog:

Breadcrumb 2.0.3

Breadcrumb 2.0.2

Breadcrumb 2.0.1

Breadcrumb 2.0.0

Example has been provided in the corresponding section of this document.

Breadcrumb 2.0.0-alpha1

Breadcrumb 1.2

Breadcrumb 1.1

Breadcrumb 1.0

Dev's note:

If you notice an error / logic failure, or know something that is missing, please let me know via pull requests or issues. I'm tracking this repo, and will do it forever, so you can reach me :)


All versions of breadcrumb with dependencies

PHP Build Version
Package Version
Requires php Version >=5.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 noherczeg/breadcrumb contains the following files

Loading the files please wait ....