PHPackages                             car/brands-models - 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. car/brands-models

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

car/brands-models
=================

Package for managing car brands and models.

1.0.0(1y ago)1466↓63.6%MITPHP

Since Nov 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/williamspinheiro/car-brands-models)[ Packagist](https://packagist.org/packages/car/brands-models)[ RSS](/packages/car-brands-models/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Car Brands and Models Laravel Package
=====================================

[](#car-brands-and-models-laravel-package)

This package provides an easy way to manage car brands and models within a Laravel application. It includes migrations and seeders to populate the car brands and models tables with known data.

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

[](#installation)

### 1. Add the package to your Laravel project

[](#1-add-the-package-to-your-laravel-project)

You can install this package into your Laravel project easily via Composer.

1. Install the package using Composer:

    ```
    composer require car/brands-models
    ```

This will download and install the latest stable version of the package directly from Packagist.

### 2. Publish Migrations and Seeders

[](#2-publish-migrations-and-seeders)

After the package is installed, you can publish the migrations and seeders to your Laravel project.

#### Publish Everything at Once:

[](#publish-everything-at-once)

To publish both migrations and seeders in one command, run:

```
php artisan vendor:publish --provider="Car\BrandsModels\BrandsModelsServiceProvider"

```

This will copy the migrations and seeders to your Laravel project's `database/migrations` and `database/seeders` directories

#### Publish Migrations:

[](#publish-migrations)

If you prefer to publish only the migrations, you can run:

```
php artisan vendor:publish --provider="Car\BrandsModels\BrandsModelsServiceProvider" --tag="car-brands-models-migrations"

```

This will copy the migrations for the `car_brands` and `car_models` tables to the `database/migrations` directory.

#### Publish Seeders:

[](#publish-seeders)

To publish only the seeders, run:

```
php artisan vendor:publish --provider="Car\BrandsModels\BrandsModelsServiceProvider" --tag="car-brands-models-seeders"

```

This will copy the seeders for populating the tables with car brands and models to the `database/seeders` directory.

#### Note:

[](#note)

In some cases, you may need to use the `--force` option if there are restrictions preventing the files from being published, such as permission issues or conflicts. The `--force` flag ensures the files are copied successfully.

```
php artisan vendor:publish --provider="Car\BrandsModels\BrandsModelsServiceProvider" --tag="car-brands-models-migrations" --force
php artisan vendor:publish --provider="Car\BrandsModels\BrandsModelsServiceProvider" --tag="car-brands-models-seeders" --force

```

### 3. Run Migrations and Seeders

[](#3-run-migrations-and-seeders)

Once the migrations and seeders are published, execute the following commands to create the tables and populate them with data:

1. Run the migrations:

    ```
    php artisan migrate
    ```
2. Run the seeders:

    ```
    php artisan db:seed --class="CarBrandsSeeder"
    php artisan db:seed --class="CarModelsSeeder"
    ```

### 4. Usage

[](#4-usage)

Once the package is installed, you can use the `car_brands` and `car_models` tables in your Laravel application. You can interact with these tables through Eloquent models or directly in your controllers, repositories, or services.

### 5. Development Notes

[](#5-development-notes)

If you encounter any issues or have suggestions for improving the package, feel free to open an issue or a pull request on the [GitHub repository](https://github.com/williamspinheiro/car-brands-models).

### 6. License

[](#6-license)

This package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

534d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b0ba952e420a15697998bdebd583f3984c23b84338fed4ddac0c1b803672012?d=identicon)[williamspinheiro](/maintainers/williamspinheiro)

---

Top Contributors

[![williamspinheiro](https://avatars.githubusercontent.com/u/82105781?v=4)](https://github.com/williamspinheiro "williamspinheiro (17 commits)")

### Embed Badge

![Health badge](/badges/car-brands-models/health.svg)

```
[![Health](https://phpackages.com/badges/car-brands-models/health.svg)](https://phpackages.com/packages/car-brands-models)
```

###  Alternatives

[alibabacloud/sdk

Alibaba Cloud SDK for PHP - Easier to Use Alibaba Cloud in your PHP project

5282.1M45](/packages/alibabacloud-sdk)

PHPackages © 2026

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