PHPackages                             lartificer/news - 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. lartificer/news

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

lartificer/news
===============

A news component for the lartificer project

0161PHP

Since Jan 13Pushed 10y ago2 watchersCompare

[ Source](https://github.com/lartificer/news)[ Packagist](https://packagist.org/packages/lartificer/news)[ RSS](/packages/lartificer-news/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Lartificer News
===============

[](#lartificer-news)

This package is a part of the Lartificer project, based on the Laravel Framework. Only to use inside a Laravel project.

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

[](#installation)

The whole project is available as [Packagist Lartificer project](https://packagist.org/packages/lartificer/news) to use with Composer.

To use the news package in your Laravel project, first add it to the `composer.json` in your project's root directory. To enable custom install paths for your Composer packages, it is also necessary to require the [composer-custom-directory-installer](https://github.com/mnsami/composer-custom-directory-installer). To seed your dummy database, use [fzaninotto/Faker](https://github.com/fzaninotto/Faker).

How to use?
-----------

[](#how-to-use)

- Your Website must contain a login functionality in order to be able to login and edit/create/delete news entries
- Multi language feature:
    As there can be seen in the `NewsController` class of the news module, change the `$languages` variable to fit your needs. Add the corresponding language files in the `src/lang` directory. The files in this directory determine the displayed texts and the routes.
- Add the link to the news overview page to a page of your choice:
    `Link to the news overview page`
- After you made your changes, the files have to be published like so:
    `php artisan vendor:publish --provider="vendor/lartificer/contactform/src/Lartificer/News/NewsServiceProvider" --tag="public"`Use accordingly for your migrations. See the the `publish` methods in the `NewsServiceProvider`.

To create your database, you can use the migrations in the `src/database/migrations` folder.

### Composer

[](#composer)

```
"require": {
		"laravel/framework": "5.0.*",
		...
        "mnsami/composer-custom-directory-installer": "1.0.*",
        "lartificer/news": "dev-master"
	},
```

Make the PSR-0 namespace fit, and add the `extra` option to install the package at a custom path.

```
    "autoload": {
        ...
	    "psr-0": {
		  "Lartificer\\News": "path/to/lartificer/news/src/"
		}
	},
    "extra": {
      "installer-paths": {
        "./path/to/lartificer/news/": ["lartificer/news"]
      }
    }
```

### App.php

[](#appphp)

Now you have to register the NewsServiceProvider in your `app.php` file.

```
'providers' => [

		...

		/*
		 * Lartificer
		 */
		'Lartificer\News\NewsServiceProvider',

	],
```

License
-------

[](#license)

Copyright (c) 2015 Paul Mohr, Fabian Henkel

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

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2770f12db29ebb2434ff9f1368dc67fe97985260c8c4f1cc4042caf2e2327e96?d=identicon)[Sopamo](/maintainers/Sopamo)

![](https://www.gravatar.com/avatar/4ef1d95dae6676eceed4172929c73fc4fc0adb4d21ae2aa86a6ac092acc2298b?d=identicon)[fabianhenkel](/maintainers/fabianhenkel)

---

Top Contributors

[![Derfruehevogel](https://avatars.githubusercontent.com/u/210429736?v=4)](https://github.com/Derfruehevogel "Derfruehevogel (3 commits)")[![Sopamo](https://avatars.githubusercontent.com/u/1202596?v=4)](https://github.com/Sopamo "Sopamo (3 commits)")

### Embed Badge

![Health badge](/badges/lartificer-news/health.svg)

```
[![Health](https://phpackages.com/badges/lartificer-news/health.svg)](https://phpackages.com/packages/lartificer-news)
```

PHPackages © 2026

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