| Package Data | |
|---|---|
| Maintainer Username: | endihunter | 
| Maintainer Contact: | endi1982@gmail.com (endi) | 
| Package Create Date: | 2016-02-19 | 
| Package Last Update: | 2016-03-28 | 
| Language: | PHP | 
| License: | Unknown | 
| Last Refreshed: | 2025-10-23 15:01:49 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 108 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 1 | 
| Total Watchers: | 1 | 
| Total Forks: | 0 | 
| Total Open Issues: | 0 | 
adminarchitect/news provides the default skeleton for Admin Architect news module. It includes News & News Categories modules out of the box as like as eloquent models and news repository.
Note: this is not standalone package, it can be used only in conjunction with Admin Architect (terranet/administrator) package.
then require it:
composer require adminarchitect/news
register News service provider by adding to the app/config.php providers section:
'providers' => [
	...
	Terranet\News\ServiceProvider::class
	...
]
now you can publish the whole package resources by running:
php artisan vendor:publish [--provider="Terranet\\News\\ServiceProvider"]
News and NewsCategories modules will be copied into the app\Http\Terranet\Administrator\Modules directory.
Associated eloquent models as: NewsItem, NewsCategory and pivot NewsCategoryItem will be added as well to app directory.
Routes become available at app\Http\Terranet\News\routes.php.
Run artisan command to create migration:
php artisan news:tables
this will create the migration file inside of database/migrations directory...
Run migration:
php artisan migrate
Enjoy!