app
console
Our great sponsors
app | console | |
---|---|---|
13 | 4 | |
219 | 9,647 | |
2.3% | 0.3% | |
5.7 | 7.7 | |
3 days ago | 11 days ago | |
PHP | PHP | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
app
-
Creating an application #8 - application
The application is configured section of the params configuration file:
-
Creating an application # 7 - internationalization (i18n)
In params.php file you can define the locale identifier:
-
Creating an application # 6 - customizing application parameters
This ApplicationParameters.php allows you to globally configure some important parameters of your application, such as name and charset, you could also add any parameter you need.
-
Creating an application # 5 - install using sub directory
Step 4: We modified our param.php config file.
-
Creating an application # 4 - install using sub directory
Step 1: We install the application template to use in this case app .
-
404 when access via localhost
Add support `SubFolder::class` middleware. by terabytesoftw · Pull Request #269 · yiisoft/app (github.com)
-
Assets #1 - definitions
Let’s review this example, to use bootstrap5 in our app template.
-
Creating an application #1 - introduction
**Yii Application Template:** [Template Yii3](https://github.com/yiisoft/app)
-
Templates available in Yii3.
App template for Yii Framework v.3, provides a web and console environment, with minimal configuration, to create projects quickly.
-
Creating an application in Yii3 - part 4: the final
Take a look at the configuration, and you'll see that changing it is as simple as changing a parameter in params.php, we've developed the right tools, that will do the job for you, that's simplicity.
console
-
Creating an application in Yii3.
Symfony console component. The Console component eases the creation of beautiful and testable command line interfaces.
-
A minimal library that defines primitive building blocks of PHP code.
I have to disagree. To me, declaring a method via the @method tag (in rare cases) is equivalent to actually declaring it in a class/interface. Due to PHP limitations, the obvious lack of generics, and what I wrote earlier, I simply couldn't do it any other way. Take eg. HttpClientInterface from symfony/http-client-contracts or InputInterface from symfony/console, they had different reasons but the outcome is the same.
-
Introducing Phirs (0.1.0), a cross-platform and well-tested user directory path provider library, including cache and config paths
I don't think so. Phoronix Test Suite is a big example. Plus, in the PHP community itself, there are so many CLI apps: Composer, PHPUnit, static analyzers like Phan, just to name a few. Symfony Console component has more than 9k stars, so this should mean PHP is a capable tool for CLI apps.
-
Administrando proyectos PHP con Composer
{ "name": "symfony/console", "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", "reference": "10bb3ee3c97308869d53b3e3d03f6ac23ff985f7" }, }
What are some alternatives?
app-console - Yii console application
http-kernel - Provides a structured process for converting a Request into a Response
di - PSR-11 compatible DI container and injector
drush - Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
fig-standards - Standards either proposed or approved by the Framework Interop Group
polyfill-mbstring - Symfony polyfill for the Mbstring extension
config - Configuration management
process - Executes commands in sub-processes
router - Router is a request matcher and URL generator
event-dispatcher - Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
package-template - A template for a new package within yiisoft
http-foundation - Defines an object-oriented layer for the HTTP specification