Download the PHP package matteoggl/linnaeus without Composer

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

Linnaeus

GitHub Packagist Downloads

A package to create readable, random slugs for Eloquent models from animal names and adjectives.

Installation

Just require the package through composer:

Usage

Add the HasSlug trait on your Eloquent model and insert a column on it's table named slug, of type string with a unique modifier.

By default, a new unique string taken from a combination of 900~ adjectives, 100+ colors and 250~ animals is assigned to the model when created with the following structure: adjective-adjective-animal.

When updated, the slug will not be changed and if soft-deletable, the model's slug will be considered used.

The slugs are used with Laravel's implicit route model binding. For example, this code:

will use Linnaeus' slugs (e.g. /users/moldy-encouraging-turtle).

Configuration

To publish the configuration file, run the following command:

The linnaeus.php configuration file will appear in your config/ directory.

Per-model configuration

Some options can be overridden by updating them inside the model constructor, using a fluent API; here's an example using all the available ones:

FAQ

Q: What's up with the name?

A: Take a look at Carl Linnaeus on Wikipedia

Q: Can this package do feature?

A: I created this package out of a need for a personal project. If you have some suggestions feel free to open an issue or a PR! Also, this package is heavily inspired from spatie/laravel-sluggable; maybe the features you are looking for are there.


All versions of linnaeus with dependencies

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

Loading the files please wait ....