PHPackages                             ben-wecom4u/laravel-edit-mode - 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. ben-wecom4u/laravel-edit-mode

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

ben-wecom4u/laravel-edit-mode
=============================

Laravel edit mode

0.0.2(6y ago)07[3 PRs](https://github.com/ben-wecom4u/laravel-edit-mode/pulls)MITPHPPHP &gt;=7.0.0

Since Jan 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ben-wecom4u/laravel-edit-mode)[ Packagist](https://packagist.org/packages/ben-wecom4u/laravel-edit-mode)[ RSS](/packages/ben-wecom4u-laravel-edit-mode/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

Boilerplate Laravel 5 Package
=============================

[](#boilerplate-laravel-5-package)

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

[](#installation)

Clone this repo with minimal history:

```
git clone --depth 1 git@github.com:cviebrock/laravel5-package-template.git
```

Rename the directory and re-init it as your own package:

```
mv laravel5-package-template my-package
cd my-package
rm -rf .git
git init
```

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

[](#configuration)

The boilerplate files provide a scaffold for building your own package. You'll need to make a bunch of changes to the files we've provided to make it your own.

### composer.json

[](#composerjson)

Edit `composer.json` to reflect your package information. At a minimum, you will need to change the package name and autoload lines so that "vendor/package" reflects your new package's name and namespace.

```
{
    "name": "vendor/package",
    ...
    "autoload": {
        "psr-4": {
            "Vendor\\Package\\": "src/"
        }
    },
    ...
},
```

### config/packagename.php

[](#configpackagenamephp)

Rename `config/packagename.php` to something more useful, like `config/my-package.php`. This is the configuration file that Laravel will publish into it's `config` directory. Laravel 5 doesn't use the `config/packages/vendor/...` structure that Laravel 4 did, so pick a file name that's not likely to conflict with existing configuration files.

### src/ServiceProvider.php

[](#srcserviceproviderphp)

Open up `src/ServiceProvider.php` as well. At a minimum you'll need to change the namespace at the top of the file (it needs to match the PSR-4 namespace you set in `composer.json`).

In the `boot()` method, comment out or uncomment the components your package will need. For example, if your package only has a configuration, then you can comment out everything except the `handleConfigs()` call:

```
public function boot() {
    $this->handleConfigs();
    // $this->handleMigrations();
    // $this->handleViews();
    // $this->handleTranslations();
    // $this->handleRoutes();
}
```

In the `handleConfigs()` method, you'll want to change the "packagename" references to the name you chose up above (in the \[config/packagename.php\] instructions).

For the other methods, again change instances of "vendor" and "packagename" to your package's name.

### Last Steps

[](#last-steps)

Update the `LICENSE` file as required (make sure it matches what you said your package's license is in `composer.json`).

Finally, edit this `README.md` file and replace it with a description of your own, awesome Laravel 5 package.

Commit everything to your (newly initialized) git repo, and push it wherever you'll keep your package (Github, etc.).

Enjoy coding!

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

2296d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.4.0

0.0.2PHP &gt;=7.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48315890?v=4)[ben-wecom4u](/maintainers/ben-wecom4u)[@ben-wecom4u](https://github.com/ben-wecom4u)

---

Top Contributors

[![ben-wecom4u](https://avatars.githubusercontent.com/u/48315890?v=4)](https://github.com/ben-wecom4u "ben-wecom4u (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ben-wecom4u-laravel-edit-mode/health.svg)

```
[![Health](https://phpackages.com/badges/ben-wecom4u-laravel-edit-mode/health.svg)](https://phpackages.com/packages/ben-wecom4u-laravel-edit-mode)
```

###  Alternatives

[ncjoes/office-converter

PHP Wrapper for LibreOffice

2431.2M4](/packages/ncjoes-office-converter)

PHPackages © 2026

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