PHPackages                             pwweb/laravel-core - 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. [Framework](/categories/framework)
4. /
5. pwweb/laravel-core

AbandonedArchivedLibrary[Framework](/categories/framework)

pwweb/laravel-core
==================

Additional core functionalities for Laravel

0.3.17-beta(3y ago)0575[6 issues](https://github.com/pwweb/laravel-core/issues)1MITPHPPHP &gt;=7.4 || ~8.0

Since Apr 10Pushed 3y agoCompare

[ Source](https://github.com/pwweb/laravel-core)[ Packagist](https://packagist.org/packages/pwweb/laravel-core)[ Docs](https://github.com/pwweb/core)[ RSS](/packages/pwweb-laravel-core/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (9)Versions (35)Used By (1)Security (1)

Laravel Core Package
====================

[](#laravel-core-package)

[![](https://camo.githubusercontent.com/a96f98f63b94533d7670fd4ff80a3c96d83faaead6101c7888572837250ba1d3/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f436f72652e706e673f7468656d653d6461726b267061636b6167654e616d653d70777765622532466c61726176656c2d636f7265267061747465726e3d6d6f727068696e674469616d6f6e6473267374796c653d7374796c655f31266465736372697074696f6e3d437573746f6d2b636f72652b66756e6374696f6e616c6974792b666f722b4c61726176656c266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d63686970)](https://camo.githubusercontent.com/a96f98f63b94533d7670fd4ff80a3c96d83faaead6101c7888572837250ba1d3/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f436f72652e706e673f7468656d653d6461726b267061636b6167654e616d653d70777765622532466c61726176656c2d636f7265267061747465726e3d6d6f727068696e674469616d6f6e6473267374796c653d7374796c655f31266465736372697074696f6e3d437573746f6d2b636f72652b66756e6374696f6e616c6974792b666f722b4c61726176656c266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d63686970)

[![Version](https://camo.githubusercontent.com/c4feb18517050aac75f37faab458dfea2651f65895d5a8cf2c9fb02cd395807d/68747470733a2f2f706f7365722e707567782e6f72672f70777765622f6c61726176656c2d636f72652f762f737461626c652e737667)](https://github.com/pwweb/laravel-core/releases)[![Downloads](https://camo.githubusercontent.com/7fdf48cf983773d612f233f5d40de349c48fc08c98d25afb4bbf8b7ed8979a17/68747470733a2f2f706f7365722e707567782e6f72672f70777765622f6c61726176656c2d636f72652f642f746f74616c2e737667)](https://github.com/pwweb/laravel-core)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0c5471885a9eb415b989fa174d73de7fcacbf7d55a4d6ec53c39ef446a94e147/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70777765622f6c61726176656c2d636f72652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pwweb/core/?branch=master)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

**Core**: Additional core functionalities for Laravel including the **Localisation**: C3P0 for Laravel. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer run the following:

```
# Install the package.
$ composer require pwweb/laravel-core

# Publish config, migration, languages and controllers.
$ php artisan vendor:publish --provider="PWWEB\Core\CoreServiceProvider"

# Run migrations
$ php artisan migrate
```

Pre-requisites
--------------

[](#pre-requisites)

The package assumes a standard Laravel installation if the bundled default controllers for the entities are to be used. The bundled controllers extend from `App\Http\Controllers\Controller`. If other, custom base controllers are used as part of the installation, refer to [Customising](Customising).

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

[](#configuration)

### Customising

[](#customising)

The package provides the following tags for publishing individual components for customising:

TagDescription`pwweb.core.config`Publish the configuration files to e.g. adjust database table names.`pwweb.core.migrations`Publish the migration file(s) to make alterations to the database tables.`pwweb.core.language`Publish the language files to make adjustments to the translation strings.`pwweb.core.views`Publish the view files to make adjustments to the overall structure of the views.#### Extending Models

[](#extending-models)

Models can be extended to include additional functionalities or add relationships to other models. When doing so, the configuration for this package needs to be exported and the class names need to be adjusted accordingly.

```
