medinaproduction / laravel-toolkit
MedinaProduction Laravel Toolkit Package
Package info
github.com/medinaproduction/laravel-toolkit
pkg:composer/medinaproduction/laravel-toolkit
2.0.0
2026-09-27 20:58 UTC
Requires
- php: ^8.3
- laravel/framework: ^13.0
Requires (Dev)
- fakerphp/faker: ^1.23
- mockery/mockery: ^1.6.10
- orchestra/testbench: ^11.0
- phpunit/phpunit: ^12.5.8
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This package is designed to help with general tools in MedinaProduction Laravel projects.
Requirements
| Version | Laravel | PHP |
|---|---|---|
| 2.x | 13 | 8.3, 8.4, 8.5 |
| 1.x | 8 to 11 | 8.1 or later |
Simple usage
Install the package from Packagist:
composer require medinaproduction/laravel-toolkit
How to use (and develop)
To use this package and to continue developing the package, follow these steps:
- In your projects
composer.jsonfile, make sure you have the following:
composer require mnsami/composer-custom-directory-installer
- When question apperears: Do you trust "mnsami/composer-custom-directory-installer"... press
y. - Add the following to the
composer.jsonfile.
"extra": {
...
"installer-paths": {
...
"./support/laravel-toolkit": ["medinaproduction/laravel-toolkit"],
}
},
- Also add the following to the
repositoriessection:
"repositories": [
...
{
"type": "vcs",
"url": "git@github.com:medinaproduction/laravel-toolkit.git"
}
]
- Finally, run the following command:
composer require medinaproduction/laravel-toolkit --prefer-source
- A new clone of the repository is created under
support/laravel-toolkit/....
Get tests to work
Note: This guide is for testing in a standalone folder. If you want to run tests within the support folder, the process may be a bit different.
- Naviage to package in termianl
cd support/laravel-toolkit - Make sure you have run
composer updatein your package folder - Run tests
./vendor/bin/phpunit