PHPackages                             adrianmejias/veil - 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. adrianmejias/veil

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

adrianmejias/veil
=================

A simple class instance autoloader for PHP applications.

1.0.2(4y ago)06MITPHPPHP ^8.0

Since Aug 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/adrianmejias/veil)[ Packagist](https://packagist.org/packages/adrianmejias/veil)[ Docs](https://github.com/adrianmejias/veil)[ Fund](https://paypal.me/adrianmejias)[ GitHub Sponsors](https://github.com/adrianmejias)[ RSS](/packages/adrianmejias-veil/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (8)Versions (5)Used By (0)

Veil
====

[](#veil)

[![security](https://github.com/adrianmejias/veil/actions/workflows/security.yml/badge.svg)](https://github.com/adrianmejias/veil/actions/workflows/security.yml) [![tests](https://github.com/adrianmejias/veil/actions/workflows/tests.yml/badge.svg)](https://github.com/adrianmejias/veil/actions/workflows/tests.yml) [![PHPStan](https://github.com/adrianmejias/veil/actions/workflows/phpstan.yml/badge.svg)](https://github.com/adrianmejias/veil/actions/workflows/phpstan.yml) [![PHP CS Fixer](https://github.com/adrianmejias/veil/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/adrianmejias/veil/actions/workflows/php-cs-fixer.yml) [![StyleCI](https://camo.githubusercontent.com/99eab64dc7e0c83375ca02c25de90b9e89bdeb0adc2f6d0b87a42f86fb275174/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3339343634343931372f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/394644917?branch=main) [![Build Status](https://camo.githubusercontent.com/3eedd50f2ccecc6c10d71f9a55ce3947d9f184b17b624a0c2d1881d3dc3e366e/68747470733a2f2f7472617669732d63692e636f6d2f61647269616e6d656a6961732f7665696c2e7376673f6272616e63683d6d61696e)](https://travis-ci.com/adrianmejias/veil) [![codecov](https://camo.githubusercontent.com/75b43e7773659e917a9a3c4ec660609b36f2f27ebb435355f98b75d16c1293d9/68747470733a2f2f636f6465636f762e696f2f67682f61647269616e6d656a6961732f7665696c2f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d503038374651504a3635)](https://codecov.io/gh/adrianmejias/veil) [![Downloads](https://camo.githubusercontent.com/23016934648031a47efa808bf43f10fe443a7c5482c60a9378e356f0fb7b3806/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61647269616e6d656a6961732f7665696c)](https://camo.githubusercontent.com/23016934648031a47efa808bf43f10fe443a7c5482c60a9378e356f0fb7b3806/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61647269616e6d656a6961732f7665696c) [![Packagist](https://camo.githubusercontent.com/d7536f8271ae602eebc381b31c16abb4f7ed70365aaa85832f1ad0098e3b1924/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61647269616e6d656a6961732f7665696c)](https://camo.githubusercontent.com/d7536f8271ae602eebc381b31c16abb4f7ed70365aaa85832f1ad0098e3b1924/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61647269616e6d656a6961732f7665696c) [![License](https://camo.githubusercontent.com/e3689858301cdf3bc1d6bb9263122986d70f1300f8d0655f89a74ffc2460ca95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61647269616e6d656a6961732f7665696c)](https://camo.githubusercontent.com/e3689858301cdf3bc1d6bb9263122986d70f1300f8d0655f89a74ffc2460ca95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61647269616e6d656a6961732f7665696c) [![Liberapay](https://camo.githubusercontent.com/2c3c77ae37c45f38c80dfa44f1663ef509dae1a515d03e572036cdaf7d2e6b30/68747470733a2f2f696d672e736869656c64732e696f2f6c69626572617061792f706174726f6e732f61647269616e6d656a6961732e7376673f6c6f676f3d6c6962657261706179)](https://camo.githubusercontent.com/2c3c77ae37c45f38c80dfa44f1663ef509dae1a515d03e572036cdaf7d2e6b30/68747470733a2f2f696d672e736869656c64732e696f2f6c69626572617061792f706174726f6e732f61647269616e6d656a6961732e7376673f6c6f676f3d6c6962657261706179)

Autoloader for custom class instances.

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

[](#installation)

This version supports PHP 8.0. You can install the package via composer:

`composer require adrianmejias/veil`

Usage
-----

[](#usage)

### Example

[](#example)

```
