Download the PHP package codiiv/laravel-taxonomies without Composer
On this page you can find all versions of the php package codiiv/laravel-taxonomies. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codiiv/laravel-taxonomies
More information about codiiv/laravel-taxonomies
Files in codiiv/laravel-taxonomies
Package laravel-taxonomies
Short Description Taxonomies for Laravel (Similar to Wordpress)
License MIT
Homepage https://github.com/codiiv/laravel-taxonomies
Informations about the package laravel-taxonomies
Laravel Taxonomies (Like Wordpress) package - Taxonomies
I =================== INSTALLATION =======================
Background: This package arises from the necessity to create taxonomies in various projects I create for my clients. It can be used in any other project. It comes with minimal CSS so that it can be adjustable as needed
-
Include the package in your project
-
Add the service provider to your
config/app.php
providers array:If you're installing on Laravel 5.5+ skip this step
-
Now that we have published a few new files to our application we need to reload them with the following command:
-
Publish the Vendor Assets files by running:
This will create a taxonomies folder in the public assets. It will also create a configuration file in the config/taxonomies.php
To set up the taxonomies path, edit the file accordingly.
-
Run Your migrations:
Quick tip: Make sure that you've created a database and added your database credentials in your
.env
file. -
Lastly, CONFIGURE SUPER ADMIN account.
Run this command
php artisan taxonomies:superadmin [email protected]
replacing [email protected] by the email of the user you want to set as super admin. Note that you can only have one super admin. -
CONFIGURE TAXONOMY Paths
After running the command
Now, visit your and you should see your new forum admin once logged in!
II ======================= UPGRADING =======================
Coming soon
III ======================= USAGE =======================
- is a list of paginated terms of a particular taxonomy. Useful if you want to create a list of the items in a paginated way. It is set in the Service Provider and takes the taxonomy from the URL ?taxonomy=XYZ or takes the defgault, which is e.g
DROPDOWN are set globally via the service provider. is the DB object while the is set by the taxonomy query string parameter or lack thereof, in which case the default taxonomy is picked up
-
Configure Default Values
Once you have run the that command will copy the taxonomies.php to . You can change the vaiables as needed
IV ======================= SCREENSHOTS =======================
All versions of laravel-taxonomies with dependencies
codiiv/extrameta Version >=1.1