sofiakb / lumen-utils
A library lumen utils
v0.0.18
2022-07-22 00:00 UTC
Requires
- sofiakb/php-utils: ^0.0.4-beta5
Requires (Dev)
- illuminate/http: ^8.53
- illuminate/support: ^8.53
- laravel/lumen-framework: >5.8
- phpunit/phpunit: ^9.5
- dev-main
- v0.0.18
- v0.0.17
- v0.0.16
- v0.0.15
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3-beta11
- v0.0.3-beta10
- v0.0.3-beta9
- v0.0.3-beta8
- v0.0.3-beta7
- v0.0.3-beta6
- v0.0.3-beta5
- v0.0.3-beta4
- v0.0.3-beta3
- v0.0.3-beta2
- v0.0.3-beta1
- v0.0.2
- v0.0.2-beta3
- v0.0.2-beta2
- v0.0.2-beta1
- v0.0.1
This package is auto-updated.
Last update: 2025-01-23 02:08:24 UTC
README
lumen-utils
A PHP Library for detect OS System !
Report Bug
ยท
Request Feature
Table of Contents
About The Library
The library allows to detect os system in PHP project.
Built With
This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
Prerequisites
- php >= 7.4
Installation
composer require sofiakb/lumen-utils
Usage
// Register service provider use Sofiakb\Lumen\Utils\Http\Controllers\Controller; use Sofiakb\Lumen\Utils\Services\Service; $app->register(Sofiakb\Lumen\Utils\Providers\LumenUtilsServiceProvider::class); // Commands available $commands = [ 'app:name', 'key:generate', 'serve', 'set:env' ]; // Tools class TableController extends Controller { // Pass Service Namespace into $serviceClass public function __construct(string $serviceClass = 'Service') { parent::__construct($serviceClass); } public function all(){ return parent::all(); // TODO: Change the autogenerated stub } public function findBy(string $column,$id){ return parent::findBy($column,$id); // TODO: Change the autogenerated stub } public function findById($id){ return parent::findById($id); // TODO: Change the autogenerated stub } public function store(){ return parent::store(); // TODO: Change the autogenerated stub } public function update($id){ return parent::update($id); // TODO: Change the autogenerated stub } public function updateBy($column,$value){ return parent::updateBy($column,$value); // TODO: Change the autogenerated stub } public function search(){ return parent::search(); // TODO: Change the autogenerated stub } public function paginate($page){ return parent::paginate($page); // TODO: Change the autogenerated stub } } class TableService extends Service { }
Roadmap
See the open issues for a list of proposed features (and known issues).
License
Distributed under the MIT License. See LICENSE
for more information.