PHPackages                             devzkhalil/laravel-primer-octicons - 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. devzkhalil/laravel-primer-octicons

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

devzkhalil/laravel-primer-octicons
==================================

v1.0.0(1y ago)117MITBlade

Since Aug 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/devzkhalil/laravel-primer-octicons)[ Packagist](https://packagist.org/packages/devzkhalil/laravel-primer-octicons)[ RSS](/packages/devzkhalil-laravel-primer-octicons/feed)WikiDiscussions master Synced 1mo ago

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

[![octicons cover light](https://user-images.githubusercontent.com/54012/138925195-5779c51d-ff8c-4264-a914-e64f4843893d.png#gh-light-mode-only)](https://user-images.githubusercontent.com/54012/138925195-5779c51d-ff8c-4264-a914-e64f4843893d.png#gh-light-mode-only)[![octicons cover dark](https://user-images.githubusercontent.com/54012/138925203-80e1afa1-ba54-4731-9525-3c41186663f9.png#gh-dark-mode-only)](https://user-images.githubusercontent.com/54012/138925203-80e1afa1-ba54-4731-9525-3c41186663f9.png#gh-dark-mode-only)

Laravel Primer Octicons
========================

[](#laravel-primer-octicons)

 A Laravel package to integrate GitHub's Octicons into your Laravel project effortlessly. This package allows you to use Octicons directly in your Blade templates with ease.

About
-----

[](#about)

Octicons are a scalable set of icons handcrafted by GitHub. They are designed to be highly legible, even at small sizes, and are perfect for adding a consistent visual language to your web projects.

GitHub Repository: [primer/octicons](https://github.com/primer/octicons)
Official Site: [Octicons](https://primer.style/octicons)

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

[](#installation)

You can install the package via Composer:

```
composer require devzkhalil/laravel-primer-octicons
```

Usage
-----

[](#usage)

After installing, you can use the Octicons in your Blade templates like this:

```

```

Icon Sizes and Parameters
-------------------------

[](#icon-sizes-and-parameters)

In this package:

- GitHub `16px` icons are referred to as `bold`.
- GitHub `24px` icons are referred to as `thin`.

### Component Parameters

[](#component-parameters)

**For Bold Icons (16px):**

- `width` is optional; the default size is `16px`.
- `height` is optional; the default size is `16px`.
- `fill` is optional; the default color is `black`.

**For Thin Icons (24px):**

- `width` is optional; the default size is `16px`.
- `height` is optional; the default size is `16px`.
- `fill` is optional; the default color is `black`.

### Finding Icon Names

[](#finding-icon-names)

To find the name of an icon:

1. Visit the official Octicons site: [Octicons](https://primer.style/foundations/icons).
2. Locate and copy the name of your desired icon.
3. Use the icon in your Blade templates with the appropriate size:

For `16px` icons (bold):

```

```

For `24px` icons (thin):

```

```

Publish Components
------------------

[](#publish-components)

Publish the components file with the following command:

```
php artisan vendor:publish --tag=primer-octicons
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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

648d ago

### Community

Maintainers

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

---

Top Contributors

[![devzkhalil](https://avatars.githubusercontent.com/u/70958192?v=4)](https://github.com/devzkhalil "devzkhalil (2 commits)")

---

Tags

laravel-octiconslaravel-octicons-primerlaravel-primerlaravel-primer-octiconslaravel-svg-iconlaravel-svg-icon-packageocticonsprimer

### Embed Badge

![Health badge](/badges/devzkhalil-laravel-primer-octicons/health.svg)

```
[![Health](https://phpackages.com/badges/devzkhalil-laravel-primer-octicons/health.svg)](https://phpackages.com/packages/devzkhalil-laravel-primer-octicons)
```

PHPackages © 2026

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