PHPackages                             headlesslaravel/cards - 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. headlesslaravel/cards

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

headlesslaravel/cards
=====================

Headless Cards for Laravel

0.3.1(3y ago)1371[3 issues](https://github.com/headlesslaravel/cards/issues)1MITPHPPHP ^8.0

Since Jan 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/headlesslaravel/cards)[ Packagist](https://packagist.org/packages/headlesslaravel/cards)[ Docs](https://github.com/headlesslaravel/cards)[ GitHub Sponsors](https://github.com/headlesslaravel)[ RSS](/packages/headlesslaravel-cards/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (1)

Headless Cards
==============

[](#headless-cards)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d88bc69da4d08f7277b8654c0551916bb56e8123a7c630c9e4b2405a94715c91/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686561646c6573736c61726176656c2f63617264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/headlesslaravel/cards)[![GitHub Tests Action Status](https://camo.githubusercontent.com/cd1da2b5e42abe260e567a16b34cceb7f3b0ecf7d6f50a180c6dc2c37519953f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f686561646c6573736c61726176656c2f63617264732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/headlesslaravel/cards/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/0112dd0a448571d76e1a1fc9d0e5e768a945894102fa5782990cc66b372a7734/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f686561646c6573736c61726176656c2f63617264732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/headlesslaravel/cards/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/8258e4520e4244e5f22c0e48ff53a33fea639f5f94a45e25b18f9ea632775f44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686561646c6573736c61726176656c2f63617264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/headlesslaravel/cards)

---

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

[](#installation)

You can install the package via composer:

```
composer require headlesslaravel/cards
```

Make a card class to manage multiple cards of one type:

```
php artisan make:cards Dashboard
```

Then add the class to an endpoint:

```
Route::cards('api/dashboard', Dashboard::class);
```

```
