PHPackages                             devcuongnguyen/ophim-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. devcuongnguyen/ophim-core

ActiveLibrary

devcuongnguyen/ophim-core
=========================

Ophim's core features

1.0.3(2y ago)0354MITPHP

Since Jan 9Pushed 2y agoCompare

[ Source](https://github.com/devcuongnguyen/ophim-core)[ Packagist](https://packagist.org/packages/devcuongnguyen/ophim-core)[ RSS](/packages/devcuongnguyen-ophim-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (9)Versions (6)Used By (4)

Server Requirements:
====================

[](#server-requirements)

- Laravel Framework 8.
- PHP 7.3 or higher.

    - Configure `php.ini`:

    ```
    max_input_vars=100000

    ```
- MySQL 5.7 or higher.

Add-on &amp; Themes:
====================

[](#add-on--themes)

- Home: [OPhimCMS.CC](https://opcms.cc)
- Admin: [Demo.OPhimCMS.CC/admin](https://demo.ophimcms.cc/admin)
- Free Movies Data: [OPhim.Movie](https://ophim.movie)
- Add-on:

    - [OPhim Crawler](https://github.com/devcuongnguyen/ophim-crawler)
- Theme: [MORE...](https://opcms.cc)

Installation:
=============

[](#installation)

1. CD to project root and run: `composer require devcuongnguyen/ophim-core -W`
2. Configuration your database connection information in file `.env`
3. Then, run command: `php artisan ophim:install`
4. Change app\\Models\\User:

```
use Ophim\Core\Models\User as OphimUser;

class User extends OphimUser {
    use HasApiTokens, HasFactory, Notifiable;
    // ...
}
```

5. Create new user by command: `php artisan ophim:user`
6. Remove this route definition in routes/web.php

```
Route::get('/', function () {
    return view('welcome');
});
```

7. Run `php artisan optimize:clear`

Update:
=======

[](#update)

1. CD to project root and run: `composer update devcuongnguyen/ophim-core -W`
2. Then, run command: `php artisan ophim:install`
3. Run `php artisan optimize:clear`
4. Clear PHP Opcache in server (if enabled)

Note
====

[](#note)

- Configure a production environment file `.env`

    - `APP_NAME=your_app_name`
    - `APP_ENV=production`
    - `APP_DEBUG=false`
    - `APP_URL=https://your-domain.com`
- Configure timezone `/config/app.php`

    - `'timezone' => 'Asia/Ho_Chi_Minh'`
    - `'locale' => 'vi'`
- Command CMS

    - `php artisan ophim:menu:generate` : Generate menu
    - `php artisan ophim:episode:change_domain` : Change episode domain play stream

Command:
========

[](#command)

- Generate menu categories &amp; regions: `php artisan ophim:menu:generate`

Reset view counter:
===================

[](#reset-view-counter)

- Setup crontab, add this entry:

```
* * * * * cd /path/to/project && php artisan schedule:run >> /dev/null 2>&1

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

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

4

Last Release

850d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b33d422767b64c288e945bc4f82cae163e81da9b8ec91a71dc4d9437a29a75df?d=identicon)[devcuongnguyen](/maintainers/devcuongnguyen)

---

Top Contributors

[![phantom0803](https://avatars.githubusercontent.com/u/57401370?v=4)](https://github.com/phantom0803 "phantom0803 (49 commits)")[![hacoidev](https://avatars.githubusercontent.com/u/108921745?v=4)](https://github.com/hacoidev "hacoidev (36 commits)")[![devcuongnguyen](https://avatars.githubusercontent.com/u/152869938?v=4)](https://github.com/devcuongnguyen "devcuongnguyen (2 commits)")

### Embed Badge

![Health badge](/badges/devcuongnguyen-ophim-core/health.svg)

```
[![Health](https://phpackages.com/badges/devcuongnguyen-ophim-core/health.svg)](https://phpackages.com/packages/devcuongnguyen-ophim-core)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[hacoidev/ophim-core

Ophim's core features

998.0k23](/packages/hacoidev-ophim-core)[a2insights/filament-saas

Filament Saas for A2Insights

161.1k](/packages/a2insights-filament-saas)[statikbe/laravel-filament-flexible-content-block-pages

A simple content page management system with a flexible content block builder based on the Filament flexible content blocks package.

121.1k](/packages/statikbe-laravel-filament-flexible-content-block-pages)

PHPackages © 2026

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