laravel-translatable - Making Eloquent models translatable

  •        279

This package contains a trait to make Eloquent models translatable. Translations are stored as json. There is no extra table needed to hold them. The package will automatically register itself.

https://murze.be/2016/04/making-eloquent-models-translatable/
https://github.com/spatie/laravel-translatable

Tags
Implementation
License
Platform

   




Related Projects

laravel-schemaless-attributes - Add schemaless attributes to Eloquent models

  •    PHP

Wouldn't it be cool if you could have a bit of the spirit of NoSQL available in Eloquent? This package does just that. It provides a trait that when applied on a model, allows you to store arbritrary values in a single JSON column. Here are a few examples. We're using the extra_attributes column here, but you can name it whatever you want.

laravel-paginateroute - Laravel router extension to easily use Laravel's paginator without the query string

  •    PHP

This package adds the paginate route method to support pagination via custom routes instead of query strings. This also allows for easily translatable pagination routes ex. /news/page/2, /nieuws/pagina/2. Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

laravel-translatable - A Laravel package for multilingual models

  •    PHP

If you want to store translations of your models into the database, this package is for you. This is a Laravel package for translatable models. Its goal is to remove the complexity in retrieving and storing multilingual model instances. With this package you write less code, as the translations are being fetched/saved when you fetch/save your instance.

eloquent-sluggable - Easy creation of slugs for your Eloquent models in Laravel

  •    PHP

Easy creation of slugs for your Eloquent models in Laravel. NOTE: These instructions are for Laravel 5.6. If you are using Laravel 5.5, please see the previous version docs.


laravel-mongodb - A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

  •    PHP

An Eloquent model and Query builder with support for MongoDB, using the original Laravel API. This library extends the original Laravel classes, so it uses exactly the same methods. WARNING: The old mongo PHP driver is not supported anymore in versions >= 3.0.

eloquence - A drop-in library for certain database functionality in Laravel 5, that allows for extra features that may never make it into the main project

  •    PHP

Eloquence is a package to extend Laravel 5's base Eloquent models and functionality. It provides a number of utilities and classes to work with Eloquent in new and useful ways, such as camel cased attributes (for JSON apis), count caching, uuids and more.

laravel-translator - An Eloquent translator for Laravel

  •    PHP

An easy-to-use Eloquent translator for Laravel. Require this package, with Composer, in the root directory of your project.

laravel-ban - Laravel Ban simplify blocking and banning Eloquent models.

  •    PHP

Use case is not limited to User model, any Eloquent model could be banned: Organizations, Teams, Groups and others. The package will automatically register itself. This step required for Laravel 5.4 or earlier releases only.

laravel-activitylog - Log activity inside your Laravel app

  •    PHP

The spatie/laravel-activitylog package provides easy to use functions to log the activities of the users of your app. It can also automatically log model events. The Package stores all activity in the activity_log table. You can retrieve all activity using the Spatie\Activitylog\Models\Activity model.

EloquentFilter - An Eloquent Way To Filter Laravel Models And Their Relationships

  •    PHP

The default namespace for all filters is App\ModelFilters\ and each Model expects the filter classname to follow the {$ModelName}Filter naming convention regardless of the namespace the model is in. Here is an example of Models and their respective filters based on the default naming convention.

laracsv - A Laravel package to easily generate CSV files from Eloquent model

  •    PHP

A Laravel package to easily generate CSV files from Eloquent model. And a proper CSV file will be downloaded with email and name fields.

validating - Automatically validating Eloquent models for Laravel

  •    PHP

Validating is a trait for Laravel Eloquent models which ensures that models meet their validation criteria before being saved. If they are not considered valid the model will not be saved and the validation errors will be made available. Validating allows for multiple rulesets, injecting the model ID into unique validation rules and raising exceptions on failed validations. It's small and flexible to fit right into your workflow and help you save valid data only.

rememberable - Query caching for Laravel

  •    PHP

Rememberable is an Eloquent trait for Laravel 5.0+ that brings back the remember() query functions from Laravel 4.2. This makes it super easy to cache your query results for an adjustable amount of time. It works by simply remembering the SQL query that was used and storing the result. If the same query is attempted while the cache is persisted it will be retrieved from the store instead of hitting your database again.

laravel-tags - Add tags and taggable behaviour to your Laravel app

  •    PHP

This package offers taggable behaviour for your models. After the package is installed the only thing you have to do is add the HasTags trait to an Eloquent model to make it taggable. But we didn't stop with the regular tagging capabilities you find in every package. Laravel Tags comes with batteries included. Out of the box it has support for translating tags, multiple tag types and sorting capabilities.

searchable - A php trait to search laravel models

  •    PHP

Searchable is a trait for Laravel 4.2+ and Laravel 5.0 that adds a simple search function to Eloquent Models. Searchable allows you to perform searches in a table giving priorities to each field for the table and it's relations.

laravel-auditing - Record the change log from models in Laravel

  •    PHP

This package will help you understand changes in your Eloquent models, by providing information about possible discrepancies and anomalies that could indicate business concerns or suspect activities. Laravel Auditing allows you to keep a history of model changes by simply using a trait. Retrieving the audited data is straightforward, making it possible to display it in various ways.

Elasticquent - Maps Laravel Eloquent models to Elasticsearch types

  •    PHP

Elasticquent makes working with Elasticsearch and Eloquent models easier by mapping them to Elasticsearch types. You can use the default settings or define how Elasticsearch should index and search your Eloquent models right in the model. Elasticquent uses the official Elasticsearch PHP API. To get started, you should have a basic knowledge of how Elasticsearch works (indexes, types, mappings, etc).

bouncer - Eloquent roles and abilities.

  •    PHP

Bouncer is an elegant, framework-agnostic approach to managing roles and abilities for any app using Eloquent models. Bouncer is an elegant, framework-agnostic approach to managing roles and abilities for any app using Eloquent models. With an expressive and fluent syntax, it stays out of your way as much as possible: use it when you want, ignore it when you don't.

befriended - Eloquent Befriended brings social media-like features like following, blocking and filtering content based on following or blocked models

  •    PHP

Eloquent Befriended brings social media-like features like following, blocking and filtering content based on following or blocked models. Laravel Befriended comes with scopes that manage filtering content that gives you easy control better what your user can see and cannot see. The main difference is that the traits that are responsible for filtering content got a better eloquent capability.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.