PHPackages                             iak/make-class - 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. iak/make-class

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

iak/make-class
==============

A package to create basic classes with tests in your Laravel app

v1.0.0.0(4y ago)21.7kMITPHPPHP ^8.0

Since Aug 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/iaK/make-class)[ Packagist](https://packagist.org/packages/iak/make-class)[ Docs](https://github.com/iak/make-class)[ RSS](/packages/iak-make-class/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (1)Dependencies (7)Versions (3)Used By (0)

A package to create custom classes with tests in your Laravel app
=================================================================

[](#a-package-to-create-custom-classes-with-tests-in-your-laravel-app)

[![Latest Version on Packagist](https://camo.githubusercontent.com/12203cfd4be1d01680d04dc5e11cd42451d41d90fe3588eaff1b567ee5aa7b31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69616b2f6d616b652d636c6173732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iak/make-class)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4cba45c4772fc69df36930bf628a6b73f57da7f291d86e3567fc7a678bb274ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f69616b2f6d616b652d636c6173732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/iak/make-class/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/37c5a84773da628bb02d9cd4c15841c771b28d11dcd513379fd4fef9d34490ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f69616b2f6d616b652d636c6173732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/iak/make-class/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/094f872d96fa3fb6585c912f36faa5d50ac54d25ae1b67d7d36217ca9b680a15/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69616b2f6d616b652d636c6173732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iak/make-class)

Create a custom class at any path with an optinal test.

Usage
-----

[](#usage)

Example:

```
$ php artisan make:class Custom/Folder/MyCoolClass
```

Will create a `app/Custom/Folder/MyCoolClass.php` file containing:

```
