PHPackages                             squashjedi/basecamp - 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. squashjedi/basecamp

ActiveLibrary

squashjedi/basecamp
===================

:package\_description

0.0.18(8y ago)026MITPHPPHP ~5.6|~7.0

Since Jun 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/squashjedi/basecamp)[ Packagist](https://packagist.org/packages/squashjedi/basecamp)[ Docs](https://github.com/Squashjedi/Basecamp)[ RSS](/packages/squashjedi-basecamp/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (17)Used By (0)

Basecamp
========

[](#basecamp)

[![Total Downloads](https://camo.githubusercontent.com/87f4179d67e4eef695cce680ad957a32b5f10d478665eacb0eaf38feae0d9ec5/68747470733a2f2f706f7365722e707567782e6f72672f7371756173686a6564692f6261736563616d702f642f746f74616c2e737667)](https://packagist.org/packages/squashjedi/basecamp)[![Latest Stable Version](https://camo.githubusercontent.com/4d784b6a3e031704768e52f8f78ef140ba9437c7e6e24ff40dfe1606609c9856/68747470733a2f2f706f7365722e707567782e6f72672f7371756173686a6564692f6261736563616d702f762f737461626c652e737667)](https://packagist.org/packages/squashjedi/basecamp)[![License](https://camo.githubusercontent.com/7779b7faf22275e865415d5c0303bfc9d14cf0094b7c43d6d81f36ade8ab24b2/68747470733a2f2f706f7365722e707567782e6f72672f7371756173686a6564692f6261736563616d702f6c6963656e73652e737667)](https://packagist.org/packages/squashjedi/basecamp)

About Basecamp
--------------

[](#about-basecamp)

Basecamp provides a great starting place for your Laravel project with all of the following:-

- It has a fluent interface to OAuth authentication with Facebook using the [Laravel Socialite](https://github.com/laravel/socialite) package.
- Built in emails to authenticate users, password resets, resend validation code and a welcome email.
- An area for logged in users to update their settings.
- A webmaster's admin panel to CRUD Users.
- A Users API.

Install
-------

[](#install)

via Composer

```
composer require squashjedi/basecamp
```

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

[](#configuration)

After installing the Basecamp library, register `Squashjedi\Basecamp\BasecampServiceProvider::class` in your `config/app.php` configuration file:

```
'providers' => [
    // Other service providers...

    Squashjedi\Basecamp\BasecampServiceProvider::class,
],
```

You will also need to add credentials for the OAuth services your application utilises. These credentials should be placed in your `config/services.php` configuration file and should use the key `facebook`. For example:

```
'facebook' => [
    'client_id' => 'your-facebook-app-id',
    'client_secret' => 'your-facebook-app-secret',
    'redirect' => 'http://your-callback-url',
],
```

Run the following commands:

```
php artisan vendor:publish --tag=basecamp
php artisan migrate
php artisan db:seed --class="Squashjedi\\Basecamp\\DatabaseSeeder"
npm install
npm install font-awesome
```

Add these Vue components in `resources/assets/js/app.js`:

```
Vue.component('basecamp-pagination',
    require('./components/basecamp/Pagination.vue'));

Vue.component('basecamp-notify',
    require('./components/basecamp/Notify.vue'));

Vue.component('basecamp-modal-delete',
    require('./components/basecamp/ModalDelete.vue'));

Vue.component('basecamp-admin-users',
    require('./components/basecamp/admin/users/Index.vue'));

Vue.component('basecamp-admin-users-fields',
    require('./components/basecamp/admin/users/Fields.vue'));

Vue.component('basecamp-admin-users-create',
    require('./components/basecamp/admin/users/Create.vue'));

Vue.component('basecamp-admin-users-edit',
    require('./components/basecamp/admin/users/Edit.vue'));

Vue.component('basecamp-user-settings-account',
    require('./components/basecamp/user/settings/account/Account.vue'));

Vue.component('basecamp-user-settings-account-deactivate',
    require('./components/basecamp/user/settings/account/Deactivate.vue'));

Vue.component('basecamp-user-settings-account-deactivate-modal',
    require('./components/basecamp/user/settings/account/DeactivateModal.vue'));

Vue.component('basecamp-user-settings-password',
    require('./components/basecamp/user/settings/password/Password.vue'));

Vue.component('basecamp-settings-password-forgot',
    require('./components/basecamp/user/settings/password/Forgot.vue'));

Vue.component('basecamp-user-settings-password-reset',
    require('./components/basecamp/user/settings/password/Reset.vue'));
```

Add these at the bottom of `resources/assets/sass/app.scss`:

```
// Font Awesome
@import "node_modules/font-awesome/scss/font-awesome.scss";

// Basecamp variables
@import "basecamp/variables";

// Basecamp extras
@import "basecamp/extras";
```

Run the following command:

```
npm run dev
```

Delete `resources/views/welcome.blade.php`.

Delete all routes in `routes/web.php`.

Replace `app/User.php` with:

```
notify(new ResetPasswordNotification($token));
    }

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'verified', 'name', 'email', 'password', 'verify_token', 'deleted_at'
    ];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'password', 'remember_token',
    ];

    /**
     * Get the social networks for the user.
     */
    public function social()
    {
        return $this->hasMany(Social::class);
    }

    /**
     * Get the roles for the user.
     */
    public function roles()
    {
        return $this->hasMany(Role::class);
    }

    /**
     * Get the password code for the user.
     */
    public function passwordReset()
    {
        return $this->hasOne(PasswordReset::class, 'email', 'email');
    }
}
```

Add the following to `resources/lang/en/validation.php`:

```
return [
    // Other error messages...

    'password_match'        => 'This doesn\'t match your current password',
];
```

Install `Laravel Passport` .

Add this middleware to `app/Http/Kernel`:

```
protected $middlewareGroups = [
    'web' => [
        // Other middleware classes...

        \Laravel\Passport\Http\Middleware\CreateFreshApiToken::class,
    ],
];
```

Usage
-----

[](#usage)

The database seed creates 1000 users.

The webmaster's login details are:

```
Email: me@example.com
Password: 123456
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~1 days

Total

16

Last Release

3273d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1944394?v=4)[squashjedi](/maintainers/squashjedi)[@squashjedi](https://github.com/squashjedi)

---

Top Contributors

[![squashjedi](https://avatars.githubusercontent.com/u/1944394?v=4)](https://github.com/squashjedi "squashjedi (38 commits)")

---

Tags

basecampSquashjedi

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/squashjedi-basecamp/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)

PHPackages © 2026

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