Navigation

    SOFTWARE TESTING

    • Register
    • Login
    • Search
    • Job Openings
    • Freelance Jobs
    • Companies
    • Conferences
    • Courses
    1. Home
    2. Tags
    3. oscomper
    Log in to post

    • E

      Ask Laravel and Composer a certain version of PHP
      Software Programming • php laravel ispmanager oscomper • • emerson  

      2
      0
      Votes
      2
      Posts
      0
      Views

      K

      Start composer indicating the correct version php For example/opt/php70/bin/php composer.phar <то что вам надо> The team will be in the right php.
    • J

      How do you put Yii2 in an empty folder with Composer?
      Software Programming • ubuntu yii2 oscomper • • jonetta  

      2
      0
      Votes
      2
      Posts
      0
      Views

      T

      Why in the file? composer init and composer install ?If you want to set up an ii2 in myProject file, Setting composercurl -sS https://getcomposer.org/installer | phpmv composer.phar /usr/local/bin/composerThen put the flames globally composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic (instead of path to your folder)Launch. php requirements.phpChange the connection to the databaseMore clearly https://yiiframework.com.ua/ru/doc/guide/2/start-installation/ If you have one, composer and flame fxp/composer-asset-pluginthe first two points to pass.
    • Bogopo

      Laravel. Modify structure
      Software Programming • php laravel oscomper • • Bogopo  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      Aah! bootstrap/autoload.php Were you going to the ventor?require __DIR__.'/../vendor/autoload.php';
    • R

      Class TranslatableServiceProvider not found
      Software Programming • php laravel oscomper • • rielyn  

      2
      0
      Votes
      2
      Posts
      0
      Views

      Laycee

      Read. https://github.com/dimsav/laravel-translatable You failed this paragraph.Next, add the service provider to app/config/app.phpDimsav\Translatable\TranslatableServiceProvider::class,
    • N

      Composer and stable version
      Software Programming • php github oscomper packagist • • nishika  

      2
      0
      Votes
      2
      Posts
      0
      Views

      inna

      ♪ composer.json ♪ github May I add version: "2.0.1" and another new strategy v2.0.1♪ Here. packagist There's a button to update the information.UPDSo you can create a new branch. 2.0 in which to maintain the rights of the Minor Version and Packagist They'll get caught. https://getcomposer.org/doc/02-libraries.md#specifying-the-version for composerUPD 2On instructions @Etki, it turns out composer.json It's really better not to tell the story. https://getcomposer.org/doc/04-schema.md#version Accordingly, the addition of the current and/or branches with the version will be sufficient.UPD 3Turns out the problem was on the side. https://poser.pugx.org the one that put information on the package.
    • N

      Composer and Laravel on XAMPP Linux
      Software Programming • php laravel xampp oscomper • • nishika  

      2
      0
      Votes
      2
      Posts
      0
      Views

      T

      Commented on:curl -sS https://getcomposer.org/installer | \ sudo php -- --install-dir=/usr/bin --filename=composer
    • T

      Why refuses to work laravel?
      Software Programming • php laravel oscomper • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      K

      Are the PHP versions on the local server and on the combat?I may be wrong, of course, but it may be PHP v8.1 - at least similar problems are pushed away from this point.
    • J

      (Composer) How do establish the necessary dependence for Laravel?
      Software Programming • php laravel oscomper • • juvenalb  

      2
      0
      Votes
      2
      Posts
      0
      Views

      G

      Your client's desk was developed under PHP version ^7.2♪ To launch it without error, you need to establish an appropriate version of the PHP. Version 8 does not fully reciprocate with version 7, so it does not fit.But you can try to ignore this requirement:composer install --ignore-platform-reqs
    • Analeea

      laravel transfer of factories to the submodule
      Software Programming • php laravel oscomper git submodule • • Analeea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      Demir

      The way to the folder `APP_ROOT/database/ influences not only the search for factories, but also the ciders and migrations.The road to the folder is in the class code. Illuminate\Foundation\Application and through the configuration files, it shall not be converted to another value.But it can be done through its service provider, for example:In the file. APP_ROOT/app/Providers/ Put the file down. DbPathServiceProvider.php:<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class DbPathServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // app()->useDatabasePath("submodule"); } /** * Register any application services. * * @return void */ public function register() { // } } Connect the established service provider in the file. APP_ROOT/config/app.php:... 'providers' => [ .... App\Providers\DbPathServiceProvider::class ], ...
    • carriann

      No counter-aller class object?
      Software Programming • php mvc router oscomper • • carriann  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      Imports are performed during the compilation and therefore do not affect the names of dynamic classes, functions or constants. https://www.php.net/manual/ru/language.namespaces.importing.php For the Dynamic Classes, you need to describe the name space yourself:$namespace = 'routetest\\Controllers\\'; $className = $namespace . $controller; $obj = new $className;
    • T

      Installation error laravel-ide-helper
      Software Programming • php laravel oscomper • • tahishae  

      2
      0
      Votes
      2
      Posts
      0
      Views

      Y

      Your package is dependent on illuminate/console ^8but it can't be established by composer, because you already have at least one fixed package with dependence. illuminate/console Lower version and non-renewal ^8You can see a list of the packages that have their dependence. illuminate/console and their requirements for its possible versions:composer why illuminate/console Options for harmonizing the requirements of versions illuminate/console:Try to lower the bag version barryvdh/laravel-ide-helperTo try to improve the version of the dependence package illuminate/console and blocking the package barryvdh/laravel-ide-helper
    • A

      How to create a project in laravel a certain version (direction 7) through a new team
      Software Programming • php laravel oscomper • • Anderson  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      That's how it works. composercomposer create-project laravel/laravel=7.0 PROJECT_NAME --prefer-dist https://laravel.com/docs/4.2
    • A

      Laravel. Doctrine DBall, what's up?
      Software Programming • php laravel artisan oscomper freymworth • • authera  

      2
      0
      Votes
      2
      Posts
      0
      Views

      S

      Maybe it's late, but someone might need to. Try the project file on the consoles: composer dumpautoload
    • G

      No eolica/nova-locale-switcher package
      Software Programming • php laravel oscomper • • guilherme  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      Perhaps you're trying incorrectly to set a package with the help of Composer'aBring the file. package.json We're in a state before your package is installed, and then in the original Laravel folder, use the team.composer require eolica/nova-locale-switcher
    • Marcee

      Set RabbitMQ for Laravel 5.8. Composer error - Your requirements could not be resolved to an installable set of packages
      Software Programming • php laravel rabbitmq oscomper • • Marcee  

      2
      0
      Votes
      2
      Posts
      0
      Views

      T

      The mistake was in the kash. So, Laravel's configuration was wrapped up!Teamsphp artisan config:clear php artisan cache:clear I've decided.
    • E

      Processing of loading error through Composer
      Software Programming • php autoload oscomper • • emran  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      Php doesn't fix fatal errors through try/catch, "Class not found" is a fatal error, you need to use it. http://www.php.net/manual/ru/function.class-exists.php Before starting the class.Expenses https://stackoverflow.com/a/4421332/815386 specifically for you using Composer:composer.json{ "require": { "monolog/monolog": "1.0.*" } } test.php<?php require 'vendor/autoload.php'; if (class_exists('Monolog\Logger',true)) { $log = new Monolog\Logger('name'); echo "Log good\n"; } if (class_exists('Foo\Bar',true)) { $test = new Foo\Bar('test'); echo "test good\n"; } else { echo "test bad\n"; } //$test = new Foo\Bar('param'); //Fatal ERROR! Yes.Log good test bad
    • F

      I can't find Laravel.
      Software Programming • php laravel oscomper • • fbio  

      2
      0
      Votes
      2
      Posts
      0
      Views

      D

      php -r "readfile('https://getcomposer.org/installer');" | php php ./composer.phar update -vv
    • K

      No php7.2-simplexml
      Software Programming • php ubuntu laravel 5.6 oscomper • • Kadir  

      2
      0
      Votes
      2
      Posts
      0
      Views

      P

      As you can see,7.2.24-0ubuntu0.19.04♪ 1Now, your system is a francenstein with partially replaced body fragments. Package for this identifier of the story. https://packages.ubuntu.com/disco/php7.2 as an ongoing safety correction at ubuntu 19.04.In the repositories of ubuntu 19.10 packages php for the branch 7.2.x is simply not available. There's 7.3.So if you need 7.2, you need some kind of backward repository. Maybe you could use the ubuntu repository 19.04Either fully updated to PHP 7.3. To that end, we need to find out which packages you have, why php-cli is revoked 7.2 and how to call 7.3.
    • O

      composer repositories, after installation, see no package
      Software Programming • php github oscomper • • obi  

      2
      0
      Votes
      2
      Posts
      0
      Views

      O

      Chain example of use$mrq = new toecto\AMQPSimpleWrappe\AMQPSimpleWrapper(); or <?php namespace 'test'; use toecto\AMQPSimpleWrappe\AMQPSimpleWrapper; $mrq = new AMQPSimpleWrapper();
    • T

      Erroneous installation of composer package
      Software Programming • php laravel oscomper • • Trenton  

      2
      0
      Votes
      2
      Posts
      0
      Views

      emmalee

      You have a version of laravel locked in composer.json. The package requires a minimum of 5.7There are two options:(1) Raise the Laravel version to 5.7.*(2) Set a lower version of spatie/laravel-image-optimizer. Under your version, Laravel will fit 1.1.2. But not the fact that she's fit for you. composer-php7.3 require spatie/laravel-image-optimizer:1.1.2 Maybe even 1.3.1. Not quite clear: https://packagist.org/packages/spatie/laravel-image-optimizer
    • 1
    • 2
    • 1 / 2