andach/laravel-view-components
Larablocks Analysis
andach/laravel-view-components works with Laravel 12 and 13 (latest release v2.0.7, Oct 17, 2026).
Laravel 10 in earlier releases.
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Oct 17, 2026)
- 108 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Oct 17, 2026.
- 5 releases in the last 12 months.
- First released: Sep 18, 2023.
- Monthly downloads: 108.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require andach/laravel-view-components |
|
| Latest Version: | v2.0.7 |
| PHP: | ^8.1 |
| Laravel: | 12 · 13 |
| Older releases: | 10 |
| License: | MIT |
| Last Updated: | Oct 17, 2026 |
| Links: | GitHub · Packagist |
Laravel View Components by Andach
This is the standard Laravel form components package for Andach Limited. It helps us keep our apps all consistently formatted and branded. It is not likely to be of use to most people in its current state, but has been released open source in the hope that it will help some people learn and understand how to make their own similar packages.
Installation
You can install the package via composer:
composer require andach/laravel-view-components
php artisan view-components:install
Then publish the js with:
php artisan vendor:publish --tag=view-components-assets
And if desired, can publish the config and views with:
php artisan vendor:publish --tag=view-components-config
php artisan vendor:publish --tag=view-components-views
The config file can then be edited to point the views towards your local copy to modify them if needed.
Tailwind
You will need Tailwind and FontAwesome installed in your laravel project:
npm install tailwindcss @tailwindcss/vite @fortawesome/fontawesome-free
npm install
Also update your resources/css/app.css to include:
@import 'tailwindcss';
@import '@fortawesome/fontawesome-free/css/all.css';
@source '../../vendor/andach/laravel-view-components/src/Components/*.php';
@source '../../vendor/andach/laravel-view-components/resources/views/**/*.blade.php';
@source '../../vendor/andach/laravel-view-components/config/view-components.php';
@source '../../config/view-components.php';
@custom-variant dark (&:where(.dark, .dark *));
And your resources/js/app.js to include:
import './bootstrap';
import '../css/app.css';
import '/node_modules/@fortawesome/fontawesome-free/css/all.min.css';
import Alpine from 'alpinejs'
import $ from 'jquery';
window.Alpine = Alpine
document.addEventListener('DOMContentLoaded', () => {
Alpine.start()
})
window.$ = $;
window.jQuery = $;
AI assistants (Laravel Boost)
The package ships Laravel Boost guidelines and an andach-view-components-development skill, so AI agents know how to use the components and wire up the frontend. If your app uses Boost, run php artisan boost:install (or php artisan boost:update if Boost is already set up) after installing this package to pull them in.
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.0.7 | ^8.1 | MIT | ||
| v2.0.6 | ^8.1 | MIT | ||
| v2.0.5 | ^8.1 | MIT | ||
| v2.0.4 | ^8.1 | MIT | ||
| v2.0.3 | ^8.1 | MIT | ||
| v2.0.2 | ^8.1 | MIT | ||
| v2.0.1 | ^8.1 | MIT | ||
| v2.0.0 | ^8.1 | MIT | ||
| v1.0.4 | ^8.1 | MIT | ||
| v1.0.3 | ^8.1 | ^10.0 | MIT | |
| v1.0.2 | ^8.1 | ^10.0 | MIT | |
| v1.0.1 | ^8.1 | ^10.0 | MIT | |
| v1.0.0 | ^8.1 | ^10.0 | MIT |