Category : package

I am trying to install Laravel Sanctum following the instructions on Laravel’s website: https://laravel.com/docs/8.x/sanctum I run this command composer require laravel/sanctum and Laravel Sanctum is successfully installed: Using version ^2.11 for laravel/sanctum ./composer.json has been updated Loading composer repositories with package information However, it seems like installing Sanctum is also removing default Laravel Packages: Package ..

Read more

I have created a laravel package https://github.com/wcaaan/firebase-token-authentication My repository is synced with packagist https://packagist.org/packages/wcaaan/firebase-token-authentication As soon as i push and create a new release it automatically shows up in packagist. The problem is what ever i do i cannot install the repository through composer. I have created two released on gitHub. I have tried all ..

Read more

I am new on developing application, but now I’m handling a laravel project (website app) that have been deployed on cpanel. Now, I need to use a specific function, but for using it, I need to install the package (the package is maatwebsite/excel). The steps are written here: https://5balloons.info/laravel-export-and-import-excel-using-maatwebsite-package/ (and many other website), but on ..

Read more

I’m using Laravel as framework to build an application framework which can be used to build their own application by fellow developers. Now I’m running into a little PSR-4 namespacing problem in the composer packages I’m developing. Example of how my application framework is designed =================================================================== app/ MyApplicationName/ Mapper/ BaseMapper.php (namespace: AppMyApplicationNameMapper) bootstrap/ config/ … ..

Read more

I’m trying to use font awesome in dompdf/laravel but no matter what I try the icons don’t show up, I’ve seen a bunch threads with similar or the same issue and their answers don’t work for me. I have included all the styles related fonts in internal styles @font-face { font-family: "FontAwesomeRegular"; font-weight: normal; font-style ..

Read more

I’m trying to add blade directives for my Laravel package. Everything is fine but on testing stage, I’m getting this error: 1) MahbodHastamUserWalletTestsFeatureBladeTest::show_user_wallet_balance InvalidArgumentException: View [userWalletBalance] not found. Should I put $this->loadViewsFrom(…) in the service provider? View path: /tests/resources/views/userWalletBalance.blade.php Test path: /tests/Feature/BladeTest.php I also tried to move the resources directory into Feature directory (beside the ..

Read more

Hello There im new to laravel and want to use spatie’s query builder package for filtering and sorting but this issue occurs while installing. Problem 1 – spatie/laravel-query-builder[3.5.0, …, v3.x-dev] require illuminate/database ^6.20.13|^7.30.4|^8.22.2 -> found illuminate/database[v6.20.13, …, 6.x-dev, v7.30.4, 7.x-dev, v8.23.1, …, 8.x-dev] but it conflicts with another require. – Root composer.json requires spatie/laravel-query-builder ^3.5 ..

Read more

$ composer require intervention/image Using version ^2.5 for intervention/image ./composer.json has been updated Running composer update intervention/image Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 – intervention/image[2.5.0, …, 2.5.1] require guzzlehttp/psr7 ~1.1 -> found guzzlehttp/psr7[1.1.0, …, 1.x-dev] but the package is ..

Read more

IlluminateDatabaseQueryException : SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name ” (SQL: create table “ (id int unsigned not null auto_increment primary key, description longtext not null, userType varchar(191) not null, userId int null, route longtext null, ipAddress varchar(45) null, userAgent text null, locale varchar(191) null, referer longtext null, methodType varchar(191) null, created_at ..

Read more

is there any library of video can concatenate (vid 1 + vid 2) for more example i have user model he or she upload the video i want to concatenate intro video on my own with user upload video to make 1 video with intro and he/she video i’m using laravel and upload video with ..

Read more

I’m trying to develop my own package for laravel by tutorial, and when i’ve added info about provider to app.php (step#5) and trying make controller(step#6). I’m getting Class ‘IchwillkinTestikTestikServiceProvider’ not found an i’ve tried composer dump-autoload-nothing is changed. Here is package composer.json: { "name": "ichwillkin/testik", "type": "library", "authors": [ { "name": "Ich Will", "email": "[email protected]" ..

Read more