PHPackages                             infinitietech/custom-view-laravel - 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. [Templating &amp; Views](/categories/templating)
4. /
5. infinitietech/custom-view-laravel

ActiveLibrary[Templating &amp; Views](/categories/templating)

infinitietech/custom-view-laravel
=================================

A powerful and flexible Laravel package that extends the default view generation capabilities with customizable templates, layouts, and file management features

v1.0.1(1y ago)1137MITPHPPHP ^8.2

Since Apr 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Infinitietechnologies/custom-view-laravel)[ Packagist](https://packagist.org/packages/infinitietech/custom-view-laravel)[ Docs](https://github.com/Infinitietechnologies/custom-view-laravel)[ RSS](/packages/infinitietech-custom-view-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Laravel Custom View Generator
=============================

[](#laravel-custom-view-generator)

[![PHP Version](https://camo.githubusercontent.com/360f377641c91c8a1054dd31e57828f0384b168b4a217b2bf6584d2b9eaa799a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e342d3737374242342e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Laravel Version](https://camo.githubusercontent.com/6f4b19a34905cef21570897c432025bfe6fab5e53fb34fb850f61669848674d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d2533453d382e302d4646324432302e7376673f7374796c653d666c61742d737175617265)](https://laravel.com)[![Latest Version on Packagist](https://camo.githubusercontent.com/1af04bd76149f98cad0d5f8e58f51d36748c101ee0e8776e3aedcab2a0dd6df8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e66696e69746965746563682f637573746f6d2d766965772d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/infinitietech/custom-view-laravel)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Maintainer](https://camo.githubusercontent.com/7f2881a4c49c6fdaaf56e0cb38db86672c9b8a03e70cb67598786ea4d852f32f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40696e66696e697469657465636830352d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/infinitietech05)

A powerful and flexible Laravel package that extends the default view generation capabilities with customizable templates, layouts, and file management features. Created and maintained by [infinitietech05](https://github.com/infinitietech05).

📅 Version Compatibility
-----------------------

[](#-version-compatibility)

Laravel VersionPackage VersionPHP Version10.x1.x&gt;= 8.19.x1.x&gt;= 8.08.x1.x&gt;= 7.4🚀 Features
----------

[](#-features)

- Create views with predefined templates (simple, blank, resource)
- Extend layout templates
- Add multiple sections to views
- Include Blade components
- File management operations (move, delete)
- File permission management
- Template shortcuts for common configurations

📋 Requirements
--------------

[](#-requirements)

- PHP &gt;= 7.4
- Laravel &gt;= 8.0

⚙️ Installation
---------------

[](#️-installation)

You can install the package via composer:

```
composer require infinitietech/custom-view-laravel
```

🔧 Usage
-------

[](#-usage)

### Basic View Creation

[](#basic-view-creation)

```
# Create a simple view
php artisan make:custom-view blog.index

# Create a view with specific type
php artisan make:custom-view blog --type=resource
```

### Layout and Sections

[](#layout-and-sections)

```
# Create a view extending a layout
php artisan make:custom-view blog.create --extend=layouts.app

# Create a view with sections
php artisan make:custom-view blog.edit --extend=layouts.app --section=content --section=scripts
```

### Components

[](#components)

```
# Create a view with components
php artisan make:custom-view blog.index --component=navbar --component=footer
```

### File Management

[](#file-management)

```
# Move a view
php artisan make:custom-view old-view --manage=move --from=old-location --to=new-location

# Delete a view
php artisan make:custom-view unused-view --manage=delete
```

### File Permissions

[](#file-permissions)

```
# Set file permissions
php artisan make:custom-view blog.index --permission --chmod=644 --owner=www-data --group=www-data
```

📖 Command Reference
-------------------

[](#-command-reference)

```
make:custom-view {name} [options]
```

### Arguments

[](#arguments)

- `name`: The view name (e.g., "blog.index")

### Options

[](#options)

OptionDescriptionExample`--type`View type (simple, blank, resource)`--type=resource``--extend` or `-E`Layout template to extend`--extend=layouts.app``--section` or `-S`Sections to include (multiple allowed)`--section=content``--component` or `-C`Components to include (multiple allowed)`--component=navbar``--manage` or `-M`Manage operation (delete or move)`--manage=move``--from`Source view name for moving`--from=old-view``--to`Destination view name for moving`--to=new-view``--permission` or `-P`Apply file permission settings`--permission``--chmod`The chmod value`--chmod=644``--owner`File owner`--owner=www-data``--group`File group`--group=www-data``--template` or `-T`Shorthand template option`--template`🔍 Examples
----------

[](#-examples)

### Creating a Blog Post View

[](#creating-a-blog-post-view)

```
php artisan make:custom-view blog.post --type=resource --extend=layouts.app --section=content --section=meta --component=share-buttons
```

### Setting Up an Admin Dashboard

[](#setting-up-an-admin-dashboard)

```
php artisan make:custom-view admin.dashboard --type=blank --extend=layouts.admin --section=main --component=stats --component=charts --permission --chmod=644
```

📦 Configuration
---------------

[](#-configuration)

Publish the configuration file:

```
php artisan vendor:publish --provider="infinitietech\CustomView\CustomViewServiceProvider"
```

This will create a `config/custom-view.php` file where you can modify various settings:

```
return [
    'default_type' => 'simple',
    'default_permissions' => [
        'chmod' => '644',
        'owner' => 'www-data',
        'group' => 'www-data',
    ],
    'template_paths' => [
        'custom' => resource_path('views/templates'),
    ],
];
```

⚗️ Testing
----------

[](#️-testing)

```
composer test
```

🔄 Changelog
-----------

[](#-changelog)

All notable changes to `custom-view-laravel` are documented in [CHANGELOG.md](CHANGELOG.md)

🎯 Roadmap
---------

[](#-roadmap)

- Add support for view caching
- Implement template presets
- Add interactive mode
- Support for view components generation

🛟 Support
---------

[](#-support)

### Issues and Questions

[](#issues-and-questions)

For bug reports and feature requests, please use the [GitHub Issues](https://github.com/Infinitietechnologies/custom-view-laravel/issues).

### Community

[](#community)

- Follow [@infinitietech05](https://github.com/infinitietech05) on GitHub
- Join our [Discord community](https://discord.gg/your-discord-link)

🤝 Contributing
--------------

[](#-contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

🔒 Security
----------

[](#-security)

If you discover any security-related issues, please email  instead of using the issue tracker.

📊 Package Statistics
--------------------

[](#-package-statistics)

- Latest Release: v1.0.0
- Release Date: 2025-04-09 06:13:25 UTC
- Maintained by: [@infinitietech05](https://github.com/infinitietech05)
- Downloads: [View on Packagist](https://packagist.org/packages/infinitietechnologies/custom-view-laravel/stats)

📝 License
---------

[](#-license)

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

👥 Credits
---------

[](#-credits)

- [infinitietech05](https://github.com/infinitietech05)
- [Infinitie Technologies](https://github.com/Infinitietechnologies)
- [All Contributors](../../contributors)

---

Last updated: 2025-04-09 06:13:25 UTC

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance48

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

395d ago

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v1.0.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/63162c2d860a7c44df5a7413e7e20896d83a565cbe2a3b3db4b6b64724d29121?d=identicon)[harshadPatel](/maintainers/harshadPatel)

![](https://www.gravatar.com/avatar/cc360228e04ebc5860597473740e52f561e4cca1bb4e5e30a48c246c462e11d2?d=identicon)[infinitie-yasha](/maintainers/infinitie-yasha)

---

Top Contributors

[![harshad-pindoriya](https://avatars.githubusercontent.com/u/89074260?v=4)](https://github.com/harshad-pindoriya "harshad-pindoriya (27 commits)")

---

Tags

laravelgeneratorbladetemplatesviews

### Embed Badge

![Health badge](/badges/infinitietech-custom-view-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/infinitietech-custom-view-laravel/health.svg)](https://phpackages.com/packages/infinitietech-custom-view-laravel)
```

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[cornford/bootstrapper

An easy way to intergrate Twitter Bootstrap with Laravel.

232.7k](/packages/cornford-bootstrapper)

PHPackages © 2026

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