Lookup package allow you to have common information such contact types, education levels, etc.
Please take note all above are sample of the data available. You may modify as necessary when you have publish / create your own seeders.
In order to install cleaniquecoders/lookup
in your Laravel project, just run the composer require command from your terminal:
composer require cleaniquecoders/lookup
Publish lookup related assets:
php artisan vendor:publish --tag=lookup-config
php artisan vendor:publish --tag=lookup-migrations
php artisan vendor:publish --tag=lookup-seeder
php artisan vendor:publish --tag=lookup-schemas
Get lookup data:
lookup('education.qualification');
Run the following command:
vendor/bin/phpunit --testdox --verbose
Thank you for considering contributing to the cleaniquecoders/lookup
!
To encourage active collaboration, it is strongly encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a failing test.
However, if you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.
Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.
cleaniquecoders/lookup
follows the PSR-2 coding standard and the PSR-4 autoloading standard.
You may use PHP CS Fixer in order to keep things standardised. PHP CS Fixer configuration can be found in .php_cs
.
This package is open-sourced software licensed under the MIT license.