jclavo / profiles
This a package to manage profiles on Ministerio da Cidadania
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/jclavo/profiles
Requires
- php: ^8.0
- illuminate/database: ^7.0|^8.0|^9.0
Requires (Dev)
- fakerphp/faker: ^1.9.1
- orchestra/testbench: ^7.8
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-09-29 02:44:19 UTC
README
Installation
You can install the package via composer:
composer require jclavo/profiles
After that, add the package providers on app.php
'providers' => [ ... /* * Package Service Providers... */ Jclavo\Profiles\Providers\ProfilesProvider::class, ... ]
Usage
use Jclavo\Profiles\Models\Profile; $profile = new Profile(); $profile->name = 'my new profile'; $profile->description = 'description for my new profile'; $profile->activated = true; $profile->fixed = false; $profile->save();
Testing
./vendor/bin/phpunit ./vendor/bin/phpunit tests/Unit/ProfileTest.php
Credits
License
The MIT License (MIT). Please see License File for more information.