PHPackages                             baytek/laravel-content - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. baytek/laravel-content

ActiveProject[Utility &amp; Helpers](/categories/utility)

baytek/laravel-content
======================

Content Provider

1.3.4(6y ago)01037MITPHPPHP &gt;=7.0.0

Since Apr 25Pushed 1y agoCompare

[ Source](https://github.com/baytek-team/Laravel-Content)[ Packagist](https://packagist.org/packages/baytek/laravel-content)[ RSS](/packages/baytek-laravel-content/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (9)Versions (93)Used By (7)

Baytek Laravel Content
======================

[](#baytek-laravel-content)

[![Laravel](https://camo.githubusercontent.com/924c07d98980f96ec3a8d0fca72c2913e54b7baeb2fe2572328ebffcf3318ffd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d7e352e332d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)[![PHP](https://camo.githubusercontent.com/585d093b14bc01fdb990f6ab3f2175726ae47a05c8c0cf8093fbffad9f725a18/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e362e342d677265656e2e737667)](http://www.php.net/ChangeLog-5.php#5.6.4)

Installation
------------

[](#installation)

#### Composer

[](#composer)

Currently this project is not publicly available. You must add a repository object in your composer.json file. You must also have SSH keys setup.

```
"repositories": [
    {
        "type": "git",
        "url": "ssh://sls@slsapp.com:1234/baytek/laravel-content.git"
    }
],
```

Add the following `require` to your composer.json file:

```
"baytek/laravel-content": "dev-master"
```

Lastly run:

`composer update`

Seeding
-------

[](#seeding)

`php artisan db:seed --class=Baytek\Laravel\Content\Seeds\ContentSeeder`

### Content Seeders

[](#content-seeders)

To generate a new content seeder that will be placed into the `database/seeds` directory. Simply run:

`php artisan make:content-seeder SeederName`

### Sample data seeder structure

[](#sample-data-seeder-structure)

There are five pieces of content that can be seeded using the content seeder method. They are `key`, `title`, `content`, `meta` and `relations`.

`key`, `title` and `content` expect strings whereas `meta` and `relations` expect arrays.

`meta` is a key value pair array single dimension.

`relations` is a two dimensional array with no keys.

```
protected $data = [
    [
        'key' => '', // Key of content
        'title' => '', // The title of the content
        'content' => '', // The actual content
        // Key value pairs
        'meta' => [
            'sample-key' => 'sample-value',
        ],
        // Arrays with content keys containing two values per array
        'relations' => [
            ['sample-key', 'sample-key-type'],
        ]
    ],
];
```

Artisan Commands
----------------

[](#artisan-commands)

To generate content cache run:

`php artisan content:cache`

To seed the database with random data (default 1000 records)

`php artisan content:random-seed 1000`

Configuration
-------------

[](#configuration)

Currently there is no real configuration other than configurations that are exposed using the `laravel-settings` package.

Soon views and generic configurations will be added. Details will be added here.

Content Types
-------------

[](#content-types)

Issues
------

[](#issues)

Licence
-------

[](#licence)

Copyright (c) 2017 Yvon Viger , Baytek

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 79.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~32 days

Recently: every ~257 days

Total

87

Last Release

527d ago

PHP version history (3 changes)1.0.0PHP &gt;=5.6.4

1.2.2PHP &gt;=7.0.0

1.2.0-p2PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9562e34cab6f9761e22df75222bda0fc7daadd2c2e411b27aedca5628f2a6507?d=identicon)[Baytek](/maintainers/Baytek)

---

Top Contributors

[![baytek-yvon](https://avatars.githubusercontent.com/u/12969611?v=4)](https://github.com/baytek-yvon "baytek-yvon (227 commits)")[![sarahbaytek](https://avatars.githubusercontent.com/u/51485899?v=4)](https://github.com/sarahbaytek "sarahbaytek (52 commits)")[![chad-baytek](https://avatars.githubusercontent.com/u/12816953?v=4)](https://github.com/chad-baytek "chad-baytek (6 commits)")

### Embed Badge

![Health badge](/badges/baytek-laravel-content/health.svg)

```
[![Health](https://phpackages.com/badges/baytek-laravel-content/health.svg)](https://phpackages.com/packages/baytek-laravel-content)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[boomcms/boom-core

Core classes for BoomCMS

193.0k6](/packages/boomcms-boom-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
